httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arun G Nair <arungn...@gmail.com>
Subject Re: [users@httpd] Both IP based and name based virtual host on same server.
Date Tue, 13 Sep 2005 12:38:04 GMT
On 9/13/05, Davide Bianchi <davide@onlyforfun.net> wrote:
> 
> Arun G Nair wrote:
> > NameVirtualHost 172.16.2.0:80 <http://172.16.2.0:80> <
> http://172.16.2.0:80>
> >
> > <VirtualHost *>
> 
> If you used 172.16.2.0:80 <http://172.16.2.0:80> in the NameVirtualHost 
> directive, you need
> to repeat it in all the VirtualHost blocks.


Ok changed it, 'n restarted. Now it says connection refused. posrt 80 is not 
listening ? 'netstat -an' shows 172.16.2.0.80 . Should i change the "Listen 
172.16.2.0 <http://172.16.2.0>" to "Listen 127.0.0.1 <http://127.0.0.1>" ?

> # SSL Virtual Hosts
> > <IfDefine SSL>
> > <VirtualHost 172.16.2.10:443 <http://172.16.2.10:443> <
> http://172.16.2.10:443>>
> 
> And I hope those <http://... are just comments you added and are not
> part of the config file.


Didn't do any such thing. I think all those "*" got converted to 
<http....>'s. Maybe your client.

What's httpd -t shows?
> 

Syntax OK .

Now what ?

-Arun

Mime
View raw message