Re: [users@httpd] Both IP based and name based virtual host on same server.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 9/13/05, Davide Bianchi <davide@xxxxxxxxxxxxxx> wrote:
Arun G Nair wrote:
> NameVirtualHost 172.16.2.0:80 <http://172.16.2.0:80>
>
> <VirtualHost *>

If you used 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" to "Listen 127.0.0.1" ?
 

> # SSL Virtual Hosts
> <IfDefine SSL>
> <VirtualHost 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

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux