httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sri <gsridha...@yahoo.com>
Subject Re: [users@httpd] Question regarding VirtualHosts
Date Mon, 14 Nov 2005 10:49:24 GMT
Hi,
   
   check this link www.debianhelp.co.uk/virtualhosts.htm
   
  Best Regards

Martin Lyberg <martin.lyberg@gmail.com> 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.  
Mime
View raw message