Forum Moderators: phranque
This is my DocumentRoot "/var/www/venus"
I have edited httpd.conf in this manner for .htaccess authentication
<Directory "/var/www/venus/">
AuthType Basic
AuthName "The Venus"
AuthUserFile /var/www/venus/cgi-bin/pwd/.htpasswd
AllowOverride None
order deny,allow
allow from all
<Files "index.html">
Allow from all
Satisfy any
</Files>
require valid-user
</Directory>
Its working, index.html is also included for authentication. Will some please help me as i do not want the username&password on index.html.
Any ways?
12:55 am on Jan 10, 2006 (utc 0)
Just a guess, but I'd try it like this:
<Directory "/var/www/venus/">
AllowOverride None
AuthType Basic
AuthName "The Venus"
AuthUserFile /var/www/venus/cgi-bin/pwd/.htpasswd
Require valid-user
Order allow,deny
Deny from all
<Files "index.html">
Allow from all
</Files>
Satisfy any
</Directory>
Jim
7:29 am on Jan 11, 2006 (utc 0)
Thanks Jim
I tried it but still it prompts me on index.html
any other guess PLEASE something.
Awaiting your reply