You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Arthur DiSegna <ad...@authentium.com> on 2005/12/20 20:36:24 UTC
[users@httpd] Virtual Hosting and Authentication
I am having a problem with this configuration. I get prompted for to
login when trying the 2nd VirtualHost (vhost2). What am I missing?
Thanks in advance...
<VirtualHost 192.168.0.10>
ServerName vhost1.mydomain.com
DocumentRoot "/var/webroot/pw/"
<Location>
Order allow,deny
Allow from all
AuthType Basic
AuthLDAPAuthoritative On
AuthName "Enterprise Server"
AuthLDAPURL "ldap://192.168.0.2 192.168.0.3/?cn"
require ldap-group cn=grp1, O=USA
require ldap-group cn=grp2, O=USA
require ldap-group cn=grp3, O=USA
require ldap-group cn=grp4, O=USA
</Location>
</VirtualHost>
<VirtualHost 192.168.0.10>
ServerName vhost2.mydomain.com
DocumentRoot "/var/webroot/enc/"
<Location>
Order deny,allow
Allow from all
Options +indexes
</Location>
</VirtualHost>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Virtual Hosting and Authentication
Posted by Joshua Slive <jo...@slive.ca>.
On 12/20/05, Arthur DiSegna <ad...@authentium.com> wrote:
> I am having a problem with this configuration. I get prompted for to
> login when trying the 2nd VirtualHost (vhost2). What am I missing?
Do you have a NameVirtualHost directive?
> <Location>
That should be <Location />.
Joshua.