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 will go to the 
example.com dir, www.example.net will go to the example.net dir, 
*everything*else* that reaches your server will go to the 400 error VirtualHost.

And I do mean *everything*

-- 
'I think, if you want thousands, you've got to fight for one.' --Small Gods


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to