httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Franquemagne <>
Subject [users@httpd] Selective authentication
Date Fri, 27 May 2005 08:55:14 GMT
I use an apache web server, and I'd like to do the following on a 
subtree (let's assume it's /testaccess for the website):
All users that come from a particular domain, no authentication is 
asked, they are automatically allowed
For the rest of the world, an authentication has to be asked.

I do the following:
In .htaccess file, I have:
AuthUserFile /opt/public/apache/htdocs/testaccess/userlist/userlist
AuthType basic
AuthName "Restricted"
Allow from
Require valid-user
Satisfy any

In /opt/public/apache/htdocs/testaccess/userlist/userlist, I have:

I made several tests for .htaccess directives, but I always get the same 
result: either everyone can access without any authentication, or 
everyone is asked for authentication.
I have no right on the basic apache configuration (httpd.conf), and I 
wonder if the basic apache configuration can prevent .htaccess behave as 
I'd like

Can somebody help me?

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