Authentication works okay for normal document root. Its just for virtual
host that the authentication does not activate.
I setup as follows:
o created passwd file using htpasswd command
o copied .htaccess to virtual host docroot (permissions: are -rw-r--r--)
changing perms to -r-------- mad no difference.
* View of the .htaccess
~~~~~~~~~~~~~~~~~~
AuthUserFile /etc/commonwealth.pwd
AuthName "This is a CustomNet Commonwealth Initiative Protected Area"
AuthType Basic
<Limit GET>
require user commonweal
</Limit>
~~~~~~~~~~~~~~~~~~
o at httpd.conf I have AllowOverride directive set as follows
~~~~~~~~~~~~~~~~~~
AllowOverride AuthConfig
~~~~~~~~~~~~~~~~~~
o at httpd.conf I also tried Allow Override directive set as follows - no
change.
~~~~~~~~~~~~~~~~~~
AllowOverride AuthConfig Limit
~~~~~~~~~~~~~~~~~~
o the web server has been restarted, stopped completely and started up too.
I copied the .htaccess file to main document root and it works.
Any ideas?
Thanks!
Juan
"We can't solve problems by using the same kind of thinking we used when we
created them "- Albert Einstein
>> Stay informed about: [2.0.40] Virtual Host Authentication Problem