Hi,
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/
ServerName host2.example.com
<Directory "/srv/www/htdocs/">
allow from all
Options +Indexes
</Directory>
</VirtualHost>


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

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

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

I execute an Apache restart , but pointing at www.example.com/share i
can't get my internal redirect. I'm only viewing my " share
"directory.
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.
Thanks!

---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to