httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From LuKreme <krem...@kreme.com>
Subject [users@httpd] Re: Cacthing hosts
Date Sat, 27 Feb 2010 19:31:08 GMT
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-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message