Re: [EMAIL PROTECTED] Question regarding VirtualHosts

2005-11-14 Thread Sri
Hi,check this link www.debianhelp.co.uk/virtualhosts.htmBest RegardsMartin Lyberg [EMAIL PROTECTED] wrote: On 11/10/05, Joshua Slive wrote:In this example:http://httpd.apache.org/docs/1.3/misc/FAQ.html#canonical-hostnamesReplace the Redirect with aLocation / Deny from all/LocationHi

[EMAIL PROTECTED] Question regarding VirtualHosts

2005-11-10 Thread Martin Lyberg
Hi, I'm running Apache 2.0 on FC4. I have two websites with two domains on the same machine. The VirtualHosts work as it should when typing domain1.com or domain2.com. My question is: I only want Apache to respond with the correct site if it hits on one of the two VirtualHosts. If i type the ip

Re: [EMAIL PROTECTED] Question regarding VirtualHosts

2005-11-10 Thread Joshua Slive
On 11/10/05, Martin Lyberg [EMAIL PROTECTED] wrote: Hi, I'm running Apache 2.0 on FC4. I have two websites with two domains on the same machine. The VirtualHosts work as it should when typing domain1.com or domain2.com. My question is: I only want Apache to respond with the correct site

Re: [EMAIL PROTECTED] Question regarding VirtualHosts

2005-11-10 Thread Martin Lyberg
On 11/10/05, Joshua Slive wrote: In this example:http://httpd.apache.org/docs/1.3/misc/FAQ.html#canonical-hostnamesReplace the Redirect with aLocation / Deny from all/LocationHi Joshua, I'm not quite sure i understand the syntax. Where would i put this:Location /Deny from all/Location Inside both

Re: [EMAIL PROTECTED] Question regarding VirtualHosts

2005-11-10 Thread Joshua Slive
On 11/10/05, Martin Lyberg [EMAIL PROTECTED] 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

Re: [EMAIL PROTECTED] Question regarding VirtualHosts

2005-11-10 Thread Martin Lyberg
On 11/10/05, Joshua Slive wrote:Hmmm... Did you read the FAQ entry? Anyway, to be extremely explicit, keep the exact config you alreadyhave but add the following immediately BEFORE the existingVirtualHost sections.This works because the first listedname-based virtual host catches all non-matching