httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Augusto Casagrande <>
Subject [users@httpd] Redirect public server to internal server
Date Thu, 23 Sep 2010 02:07:05 GMT
I have a very common problem.
I'm running one Apache 2.2.0 server on the Dmz. I have another Apache
server on the Lan.
I need to have my Lan Apache accesible on internet.
My vhosts configuration on the Dmz Apache is :

<VirtualHost *:80>
DocumentRoot /srv/www/htdocs/
<Directory "/srv/www/htdocs/">
allow from all
Options +Indexes

<VirtualHost *:443>
DocumentRoot /srv/www/htdocs/squirrelmail
<Directory "/srv/www/htdocs/squirrelmail">
allow from all
Options +Indexes
SSLEngine on
SSLCertificateFile /etc/apache2/ssl.crt/server.crt
SSLCertificateKeyFile /etc/apache2/ssl.key/server.key

--- So far so good, so i create a new vhost

<VirtualHost *:*>
DocumentRoot /srv/www/htdocs/share
ProxyRequests Off
<Proxy *>
       Order deny,allow
       Allow from all
ProxyPass / http://internal-ip-apache-server/

I execute an Apache restart , but pointing at i
can't get my internal redirect. I'm only viewing my " share
I'm not seeing any error in my access_log or error_log.
I have also enabled the proxy modules :

 # a2enmod -l
actions alias auth_basic authn_file authz_host authz_groupfile
authz_default authz_user authn_dbm autoindex cgi dir env expires
include log_config mime negotiation setenvif ssl suexec userdir php5
mod_proxy mod_proxy_http

Any help will be apreciated.

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