Re: .htaccess and .htpasswd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Afan Pasalic wrote:
# .htaccess
AuthType Basic
AuthName "Restricted Area"
AuthUserFile "/www/html/path/to/file/admin/.htpasswd"
require valid-user

# .htpasswd
Admin:ChqaxtiTH1e0E

Both files are in same directory.

Why it doesn't work?

Can I use as AuthUserFile ".htpasswd" since they are in the same directory?

I know its not smart but let's get this working and I'll move .htpasswd later to "upper level" :)

Did my filter throw an Apache mailing list email into my php folder?

--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
john@xxxxxxxxxxxx

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux