manouche Posted April 11, 2008 Share Posted April 11, 2008 I have a directory that I have aliased in httpd.conf. Here is the entry: Alias /libstats/ "/www/home/libdev/libstats/" <Directory "/libstats/"> AllowOverride All Order allow,deny Allow from all </DIRECTORY> I have an .htaccess file in the /www/home/libdev/libstats/ directory. Here is the contents: AuthUserFile /usr/local/htusers/.htpasswd AuthName "Add/Modify Records" AuthGroupFile /dev/null AuthType Basic <LIMIT GET> require valid-user </LIMIT> When I access the directory using the alias, I am not prompted for a password. When I use the full directory in the url, I need a password and it works just fine. What am I missing? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.