httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Dessent <>
Subject Re: [users@httpd] Apache/Redhat Simple AuthType Basic not working :( help please
Date Fri, 02 Jan 2004 22:24:02 GMT
Ben Yau wrote:

> <Directory />
> AuthType Basic
> AuthName "ReportsAutoRebates"
> AuthUserFile /home/www/
> Require valid-user
> </Directory>
> </VirtualHost>

Are you sure you want a Directory container and not a Location
container?  Directory referrs to the filesystem, whereas Location refers
to URLs.  So if you want authentication for every URL of a virtual host,
I'd use "<Location />" in that vhost container.  But that doesn't
actually explain why the above works for one vhost and not another.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message