httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chris <>
Subject Re: [users@httpd] Virtual hosts + proxy
Date Fri, 27 Mar 2009 19:29:42 GMT
Hash: SHA1

> 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
> (our router forwards the request to this server) and then
> mantis, www, mediawiki get served locally, and mail gets forwarded to

Your namevirtualhost *:80 line should match what you have in your <VirtualHost *:80>

You'll also want a Listen 80 line somewhere.

Some other things that I notice.  The first argument you have on ProxyPass looks a lot like
a file system path? It
should not be.  It is the URL as you wish the Client to see.  The second argument is how the
request will pass to the
backend.  If the only website on is (or you are using namebased
on your backend) you
could get by with this simple configuration:

<VirtualHost *:80>
        ProxyPreserveHost On
        ProxyPass /

I left out the ProxyPassReverse because in most cases when the path is the same on both arguments
of the ProxyPass and
you are using ProxyPreserveHost ON, you will not ever need it.


Version: GnuPG v2.0.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla -


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message