[us...@httpd] Re: Cacthing hosts

2010-02-27 Thread LuKreme
On 27-Feb-2010, at 10:17, Nilesh Govindarajan wrote: > > What if I want all IPs ? Your not understanding the function of the first VirtualHost. It is special as it is the default for anything that doesn't match another VirtualHost. What I posted will do what you want. Request to www.example.com

Re: [us...@httpd] Re: Cacthing hosts

2010-02-27 Thread Nilesh Govindarajan
On Sat, Feb 27, 2010 at 9:31 PM, LuKreme wrote: > On 27-Feb-2010, at 04:20, Nilesh Govindarajan wrote: > > > > This configuration has to be placed after all good vhosts; Otherwise all > > hosts give Error 400. Why ? > > Because all hosts match. > > This is not the best way to do it, wildcards are

[us...@httpd] Re: Cacthing hosts

2010-02-27 Thread LuKreme
On 27-Feb-2010, at 04:20, Nilesh Govindarajan wrote: > > This configuration has to be placed after all good vhosts; Otherwise all > hosts give Error 400. Why ? Because all hosts match. This is not the best way to do it, wildcards are discouraged. As Frank said: On 26-Feb-2010, at 10:22, Frank

Re: [us...@httpd] Cacthing hosts

2010-02-27 Thread Nilesh Govindarajan
On Fri, Feb 26, 2010 at 10:52 PM, Frank Gingras wrote: > > > On 02/26/2010 12:12 PM, Tom Evans wrote: > >> On Fri, Feb 26, 2010 at 4:57 PM, Nilesh Govindarajan >> wrote: >> >>> Hi, >>> >>> I have two domains, example.net and example.com >>> >>> *.example.net& *.example.com point to the server's