httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessandro Ilardo <>
Subject [users@httpd] reverseProxy & name based virtual host
Date Wed, 29 Nov 2006 13:08:14 GMT
Hello there,
I'm trying to set up my Apache 2 as Reverse proxy. But something is 
wrong in the configuration file:

Listen 80

<IfModule mod_proxy.c>
ProxyRequests Off
<Proxy *>
    Order deny,allow
    Allow from all
ProxyVia On

NameVirtualHost *:80

# Default Virtual Host
<VirtualHost *:80>
 DocumentRoot /var/www/html
<VirtualHost *:80>
 ProxyPreserveHost On
 ProxyPass /
 ProxyPassReverse /

If I call the browser can't connect to the 
server, while if I call I get a 404 error.
As you can see by my comments I'd like to have as default the first 
(which doesn't reply at all) and a reverse proxy on an internal server 
(which is not reachable from internet).
Anyone can tell me where I made the mistake?
Thanks in advance for any help.

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