Re: VirtualHost configuration not working as expected with ePages solution

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

 



Just to clarify, this is how the conf files look now:

httpd.conf:

NameVirtualHost *:80

<VirtualHost *:80>

DocumentRoot /var/www/html/path/
ServerName url2.mydomain.com
ServerAlias url2.mydomain.com
</VirtualHost>

epages.conf:

<IfDefine PROXY>
<VirtualHost *:80>
ServerName url1.mydomain.com
ServerAlias url1.mydomain.com
<Location /epages/>
    <IfDefine LB>
        ProxyPass balancer://cluster/epages/
        ProxyPassReverse balancer://cluster/epages/
    </IfDefine>
    <IfDefine !LB>
        ProxyPass http://url1.mydomain.com:8008/epages/
        ProxyPassReverse http://url1.mydomain.com:8008/epages/
    </IfDefine>
</Location>
</VirtualHost>
</IfDefine>

________________________________
From: Tom Frost <fro5tie@xxxxxxxxx>
To: "users@xxxxxxxxxxxxxxxx" <users@xxxxxxxxxxxxxxxx> 
Sent: Thursday, 3 January 2013, 13:58
Subject: Re:  VirtualHost configuration not working as expected with ePages solution


Hi

I have changed both VirtualHost definitions to *:80 and NameVirtualHost has the same, however both whichever hostname I use I still get the same site. Does it matter that the VirtualHost definitions are in separate config files?

Thanks again


________________________________
From: Eric Covener <covener@xxxxxxxxx>
To: users@xxxxxxxxxxxxxxxx; Tom Frost <fro5tie@xxxxxxxxx> 
Sent: Thursday, 3 January 2013, 12:02
Subject: Re:  VirtualHost configuration not working as expected with ePages solution

> <VirtualHost _default_:80>
> <VirtualHost
my.ip.add.res:80>

These have to be the identicalvalues for name-based vhosts to treat
them as part of a set.

If you don't care what IP address is used, use *:80 for both. If you
do care, use t my.ip.add.res:80 for both.  NameVirtualHost should have
again an identical argument.

--
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[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