Alvaro Jesus Hernandez Arteaga wrote:
Hi *
I setup a Zope with apache 2.0.48 on Mandrake 10.0 my virtualhost file on apache is
<VirtualHost 10.0.0.5:80> ServerName reducnew.uc.edu.ve ProxyPass / http://10.0.0.5:9080/VirtualHostBase/http/reducnew.uc.edu.ve:80/reduc.uc.edu... ProxyPassReverse / http://150.0.0.5:9080/VirtualHostBase/http/reducnew.uc.edu.ve:80/reduc.uc.ed... ErrorLog /reduc/www/log/reducnew-error.log TransferLog /reduc/www/log/reducnew-access.log ProxyVia on RewriteEngine on RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) RewriteRule .* -[F] </VirtualHost>
but I don't access my zope site in my log error have
client denied by server configuration: proxy:http://10.0.0.5:9080/VirtualHostBase/http/reducnew.uc.edu.ve:80/reduc.uc.edu...
The "stock" solution to virtual hosting behind Apache is to avoid using ProxyPass / ProxyPassReverse directly, and put all the logic into the rewrite rule, e.g.: RewriteRule ^(.*)$ http://10.0.0.5:9080/VirtualHostBase/http/reducnew.uc.ve:80/reduc.uc.edu.ve/... [L,P] (all on one line) Tres. -- =============================================================== Tres Seaver tseaver@zope.com Zope Corporation "Zope Dealers" http://www.zope.com