httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Lyberg <martin.lyb...@gmail.com>
Subject Re: [users@httpd] Question regarding VirtualHosts
Date Thu, 10 Nov 2005 20:27:01 GMT
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

Mime
View raw message