httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jsl...@gmail.com>
Subject Re: [users@httpd] Config file
Date Thu, 10 Mar 2005 20:48:13 GMT
On Thu, 10 Mar 2005 12:25:53 -0800, jay <jay@dez-fam.com> wrote:
>  
> Hello all, 
>   
> I have an external and internal site. I want to be able to run the
> external/public site on port 80, and my internal on another port. 
> I have a couple of remote offices that will need to access the internal site
> as well. How can I accomplish this? I want to be able to deny access to my
> internal site from public view and only allow my remote offices to see it. 
>   
> I am running apache on OSX Panther. 

Inside the <VirtualHost> section for the internal site, put
<Location />
Order deny,allow
Deny from all
Allow from xxx.xxx.xxx.xxx
</Location>

See:
http://httpd.apache.org/docs-2.0/mod/mod_access.html

Joshua.

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