Re: [users@httpd] Config file

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

 



ok, I got it to work so far. Thanks!!!
Now I need to somehow limit my virtual site from being view by everyone. I would like only my office and my remote office acces to this virtual site.

I tried using the documentation from the apache site but I have had no luck, can someone help? I am testing it now on my PC, my sites are in the C:\sites then under that I have an extranet folder and a intranet folder. I

I tried this but it did not work. Please forgive for the lack of knownlegde on this, setting up one default site was a breeze but this is killing me.


<VirtualHost 192.168.1.24:6699>
ServerName 192.168.1.24:6699
DocumentRoot  C:/sites/intranet

<C:/sites/intranet/>
Order Deny,Allow
Deny from all
Allow from 192.168.1.80
Allow from 192.168.1.66
</C:/sites/intranet>
</VirtualHost>

Thanks,
Jay



----- Original Message ----- From: "Joshua Slive" <jslive@xxxxxxxxx>
To: <users@xxxxxxxxxxxxxxxx>
Sent: Thursday, March 10, 2005 12:48 PM
Subject: Re: [users@httpd] Config file


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




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