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

2010-02-28 Thread Nilesh Govindarajan
On Sun, Feb 28, 2010 at 1:01 AM, LuKreme krem...@kreme.com wrote: 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

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

2010-02-28 Thread Eric Covener
On Sun, Feb 28, 2010 at 5:13 AM, Nilesh Govindarajan li...@itech7.com wrote: You posted which will work for a single IP i.e. 12.34.56.789 But what if I have three or four IP addresses on the same Apache server ? Your config will handle only that particular IP. I think a solution is

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

2010-02-28 Thread LuKreme
On 28-Feb-10 03:13, Nilesh Govindarajan wrote: On Sun, Feb 28, 2010 at 1:01 AM, LuKremekrem...@kreme.com wrote: On 27-Feb-2010, at 10:17, Nilesh Govindarajan wrote: What if I want all IPs ? What I posted will do what you want. Request to www.example.com will go to the example.com dir,

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

2010-02-27 Thread Nilesh Govindarajan
On Sat, Feb 27, 2010 at 9:31 PM, LuKreme krem...@kreme.com 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,

[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