Jump to content

Recommended Posts

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?

 

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.