You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Hu, Meng (Meng)** CTR **" <me...@lucent.com> on 2003/05/29 03:28:09 UTC

[users@httpd] Apache Authentication

Hi,

Is it possible to configure Apache with two Document Root directories, one directory has basic authentication restriction and the other one doesn't have any restriction ?

E.g. Users will see pop up login box from browser if they try http://localhost/directory1/first.html. But, they won't be asked for logging in if they try 
http://localhost/directory2/second.html.

Thanks,
mengpei

---------------------------------------------------------------------
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] Apache Authentication

Posted by ru...@optonline.net.
Hello Meng,

Wednesday, May 28, 2003, 9:28:09 PM, you wrote:

HMMC> Hi,

HMMC> Is it possible to configure Apache with two Document Root directories, one directory has basic authentication restriction and the other one doesn't have any restriction ?

HMMC> E.g. Users will see pop up login box from browser if they try http://localhost/directory1/first.html. But, they won't be asked for logging in if they try 
HMMC> http://localhost/directory2/second.html.

HMMC> Thanks,
HMMC> mengpei

HMMC> ---------------------------------------------------------------------
HMMC> The official User-To-User support forum of the Apache HTTP Server Project.
HMMC> See <URL:http://httpd.apache.org/userslist.html> for more info.
HMMC> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
HMMC>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
HMMC> For additional commands, e-mail: users-help@httpd.apache.org

put the .htaccess in directory1, or just label directory1 in the
config file.

-- 
Best regards,
 rulerpen                            mailto:rulerpen@optonline.net



---------------------------------------------------------------------
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