httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Apache" <apache...@hotmail.com>
Subject RE: [users@httpd] Access control to certain websites
Date Tue, 22 Apr 2003 07:26:42 GMT
Thank you for the reply. How can I configure apache if I have websites 
www.aaa.com, www.bbb.net, www.ccc.org & www.ddd.com and I want a group of 
users with ip of certain range to access only www.aaa.com & www.bbb.net and 
all other users access all said websites.

>From: Adam Moffett <adamlist@clarityconnect.com>
>Reply-To: users@httpd.apache.org
>To: users@httpd.apache.org
>Subject: RE: [users@httpd] Access control to certain websites
>Date: Mon, 21 Apr 2003 11:03:16 -0400
>
>I'm not entirely sure.  I think Internet Explorer won't prompt for the 
>password again if I open multiple windows...but I think it just resends the 
>name and password automatically.  Different browsers might behave 
>differently in that regard.
>
>There are other authentication schemes that I haven't used, but I'm not 
>sure how  (or if) you can set persistent credentials.
>
>>When you do this, is there a possible way to maintain persistent login
>>credentials with multiple browser instances open on your desktop or must 
>>you
>>relogin with every browser you open in addition to the initial one?
>>
>>Best regards,
>>
>>Michael D. Peters
>>
>>
>>-----Original Message-----
>>From: Adam Moffett [mailto:adamlist@clarityconnect.com]
>>Sent: Monday, April 21, 2003 10:22 AM
>>To: users@httpd.apache.org
>>Subject: Re: [users@httpd] Access control to certain websites
>>
>>
>>>Hi,
>>>
>>>Currently all users in my company access the company's various Intranet
>>>servers thru' the apache proxy server (ie. Apache 1.3.6) running on
>>>SunOS 5.5.1. Is there a way to configure apache such that only
>>>certain group of people or certain person can only accessed certain
>>>Intranet
>>>websites/webpages??? If yes, what needs to be configured or added in
>>>apache???
>>>
>>>Any info would be helpful and thanks in advance.
>>
>>There're a lot of ways to do that.
>>
>>You could restrict by IP's or host names like this:
>>
>><Location "http://some.host/some/url">
>>	Order deny,allow
>>	Deny from All
>>	Allow from some.other.host
>>	Allow from 10.5.5.152
>></Location>
>>
>>Or you could prompt for a username and password and only allow
>>certain users access:
>>
>><Location "http://some.host/some/url">
>>	AuthType basic
>>	AuthName "Restricted area"
>>	AuthUserFile "/etc/httpd/webpasswords"
>>	require user tom dick harry
>></Location>
>>
>>And then you'd have to use the htpasswd utility to put users into the
>>password file.  Since "require user" specifies users tom, dick, and
>>harry; only those users will be allowed access.  You could change it
>>to "require valid-user" to allow any authenticated user.
>>
>>
>>---------------------------------------------------------------------
>>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
>>
>>---------------------------------------------------------------------
>>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
>
>
>---------------------------------------------------------------------
>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
>


_________________________________________________________________
Send a fun phone greeting to your friend! 
http://www.msn.com.sg/mobile/fungreetings/


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


Mime
View raw message