Re: [users@httpd] Question regarding VirtualHosts

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

 



Hi,
 
 check this link www.debianhelp.co.uk/virtualhosts.htm
 
Best Regards

Martin Lyberg <martin.lyberg@xxxxxxxxx> wrote:
On 11/10/05, Joshua Slive wrote:

In this example:
http://httpd.apache.org/docs/1.3/misc/FAQ.html#canonical-hostnames

Replace the Redirect with a
<Location />
Deny from all
</Location>

Hi Joshua,

I'm not quite sure i understand the syntax. Where would i put this:

<Location />
Deny from all
</Location>

Inside both of my VHosts? The sites are two different ones, and i don't want a user to access any of the sites if he types the ip directly. He must type the correct adress to access a site.

thank you

/ Martin


Yahoo! FareChase - Search multiple travel sites in one click.
[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