Re: Running two copies of apache

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

 



Hi Colin,

On 25 Jul 2004 15:44:24 +0100
Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx> wrote:

> >>>>> "Alexander" == Alexander Dalloz
> ><alexander.dalloz@xxxxxxxxxxxxxxxx> writes:
> 
>     Alexander> Am So, den 25.07.2004 schrieb Colin Paul Adams um
>     Alexander> 15:19:
>     >> Can I have two different virtual servers with the same server
>     >> name, but different ports? I thought I couldn't do that.  But I
>     >> can certainly run two copies of apache on two different ports,
>     >> with the same server name.
> 
>     >> Colin Paul Adams
> 
>     Alexander> Though I never did that with different ports I am sure
>     Alexander> you can do.
> 
>     Alexander>     NameVirtualHost 111.22.33.44:80 NameVirtualHost
>     Alexander> 111.22.33.44:8080
> 
>     Alexander>     <VirtualHost 111.22.33.44:80> ServerName
>     Alexander> www.domain.tld DocumentRoot /www/domain-80
>     Alexander> </VirtualHost>
> 
>     Alexander>     <VirtualHost 111.22.33.44:8080> ServerName
>     Alexander> www.domain.tld DocumentRoot /www/domain-8080
>     Alexander> </VirtualHost>
> 
> Doesn't work here.
> 
> I get connection refused on the second port.

Things to check:

1. make sure you have told apache to listen on port 8080 ("Listen"
directive on /etc/httpd/conf/httpd.conf -- you should have one for port
80 and another for port 8080)

2. make sure you're not blocking port 8080 on your firewall

HTH

Andre

-- 
Andre Oliveira da Costa



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux