httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignacio Avellino <iavell...@colonizacion.com.uy>
Subject Re: [users@httpd] Virtual hosts + proxy
Date Fri, 27 Mar 2009 19:09:08 GMT
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message