Re: [users@httpd] Config file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 10 Mar 2005 12:25:53 -0800, jay <jay@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux