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 existing sections.  This works because the first listedname-based virtual host catches all non-matching hostnames

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 a Deny from allHi Joshua, I'm not quite sure i understand the syntax. Where would i put this:Deny from all Inside both of my VHosts? The sites are two differe

[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