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 Sun, 28 Feb 2010 14:16:51 GMT
On 28-Feb-10 03:13, Nilesh Govindarajan wrote:
> On Sun, Feb 28, 2010 at 1:01 AM, LuKreme<kremels@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, 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*

> You posted which will work for a single IP i.e. 12.34.56.789

No, you're not listening. EVERY REQUEST THAT MAKES IT TO APACHE and is 
NOT www.example.com or www.example.net will hit the first VirtualHost.

This is why I said *EVERYTHING*ELSE*

> But what if I have three or four IP addresses on the same Apache server ?

As long as apache is listening to thoes IPs it makes no difference.

> Your config will handle only that particular IP.

No, it won't. It would handle every single IP on the Internet if they 
all pointed at your apache install.


---------------------------------------------------------------------
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