On 9/15/06, [EMAIL PROTECTED]@cus <[EMAIL PROTECTED]> wrote:
hi guys,
i cant make this thing work. i tried putting .htaccess
and .htpaswwd under /cgi-bin/graph to protect this
directory. But the thing is , its not working and
somehow under /var/www/html/graph works perfectly.
here's the error after input of login and password.

You don't have permission to access /cgi-bin/graph/ on
this server.

what version of apache are you using? i'm using apache 2.2 and putting it .htaccess is no longer recommended, try putting something like these in your httpd.conf:

<Directory /path/to/your/restrictedfile>
        AllowOverride AuthConfig
        AuthType Basic
        AuthName "Restricted Area"
        AuthUserFile /usr/local/www/passwdfile
        Require user username
</Directory>


HTH



--
RoundCube Rocks!!!
http://www.roundcube.net/
The best WebMail client to date!
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to