Re: Virtual hosts + proxy

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

 



Biran!
Thanks a million for the response

> Think you need:
> 
> NameVirtualHost *

I have:
NameVirtualHost *:80
on httpd.conf

If I change it to
NameVirtualHost *

when I start httpd I get:

Starting httpd: [Fri Mar 27 16:01:40 2009] [error] VirtualHost *:80 --
mixing * ports and non-* ports with a NameVirtualHost address is not
supported, proceeding with undefined results
[Fri Mar 27 16:01:40 2009] [error] VirtualHost *:80 -- mixing * ports and
non-* ports with a NameVirtualHost address is not supported, proceeding
with undefined results
[Fri Mar 27 16:01:40 2009] [error] VirtualHost *:80 -- mixing * ports and
non-* ports with a NameVirtualHost address is not supported, proceeding
with undefined results
[Fri Mar 27 16:01:40 2009] [error] VirtualHost *:80 -- mixing * ports and
non-* ports with a NameVirtualHost address is not supported, proceeding
with undefined results
[Fri Mar 27 16:01:40 2009] [error] VirtualHost *:80 -- mixing * ports and
non-* ports with a NameVirtualHost address is not supported, proceeding
with undefined results
                                                           [  OK  ]

My 4 VirtualHost are:

<VirtualHost *:80>
    DocumentRoot "/var/www/html"
    ServerName colonizaciontest.com.uy
    ServerAlias www.colonizaciontest.com.uy
</VirtualHost>

<VirtualHost *:80>
	ServerName mail.colonizaciontest.com.uy
	ProxyRequests Off
    	ProxyPreserveHost On
	LogLevel debug
	ProxyPass /opt/zimbra/httpd-2.2.8/htdocs/
http://mail.colonizaciontest.com.uy/
	ProxyPassReverse /opt/zimbra/httpd-2.2.8/htdocs/ http://192.168.100.5/
</VirtualHost> 

<VirtualHost *:80>
    DocumentRoot "/var/www/html/mantis"
    ServerName mantis.colonizaciontest.com.uy
    ServerAlias www.mantis.colonizaciontest.com.uy
</VirtualHost>

<VirtualHost *:80>
    DocumentRoot "/var/www/html/mediawiki"
    ServerName mediawiki.colonizaciontest.com.uy
    ServerAlias www.mediawiki.colonizaciontest.com.uy
</VirtualHost>


If I change the directive from <VirtualHost *:80> to <VirtualHost *:*> en
every VirtualHost, I get the same error ...
And the page is still not working

What do you suggest?
Just in case it helps, what I'm trying to do is to expose 4 web pages, and
one is on a different physical host. So all the requests go to
192.168.100.5 (our router forwards the request to this server) and then
mantis, www, mediawiki get served locally, and mail gets forwarded to
192.168.100.6

thanks tons again!!!


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-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