Dear all, I am pretty new to zope and the only thing i can't do right now to have my zope running with the apache front end configuration : I know there are a lot of tutorial, i followed then, but nothing can't do, here is my problem : I have a webserver in my lan, and an openBsd as my gateway. On my openb, i have a firewall (pf) which forward only the port 80 (blocks 8080). Here is my apache configuration : ############################ NameVirtualHost * <VirtualHost *> DocumentRoot /var/www/htdocs ServerName keke.epaveman.com RewriteEngine On RewriteRule ^/zope/(.*) http://localhost:8080/$1 [P,L] ProxyVia on ErrorLog /var/log/apache/zope-error_log CustomLog /var/log/apache/zope-access_log common </VirtualHost> ############################ My problem is, the firt hit is ok, but all the links are towards the base url : http://localhost:8080/... With the apache proxy config, I get a "better" resultat : the links are towards the base url : http://keke.epaveman.com:8080/... (will be futher block by pf) I installed a plone if anyone want to test : http://keke.epaveman.com/zope/blog/ If anyone have some ideas that would be great because i really would like to use zope!!!! regards, kevin.
On Wed, Nov 03, 2004 at 12:55:02PM +0100, kevinthackray@free.fr wrote:
Dear all,
I am pretty new to zope and the only thing i can't do right now to have my zope running with the apache front end configuration : I know there are a lot of tutorial, i followed then, but nothing can't do, here is my problem : I have a webserver in my lan, and an openBsd as my gateway. On my openb, i have a firewall (pf) which forward only the port 80 (blocks 8080). Here is my apache configuration :
############################ NameVirtualHost *
<VirtualHost *> DocumentRoot /var/www/htdocs ServerName keke.epaveman.com RewriteEngine On RewriteRule ^/zope/(.*) http://localhost:8080/$1 [P,L] ProxyVia on ErrorLog /var/log/apache/zope-error_log CustomLog /var/log/apache/zope-access_log common </VirtualHost> ############################
My problem is, the firt hit is ok, but all the links are towards the base url : http://localhost:8080/...
Yes, because you aren't telling zope to rewrite the URLs. You should create a VirtualHostMonster instance, and change your RewriteRule according to the documentation you get when you click on the VirtualHostMonster instance. This documentation is also in many places on the web, for example you can learn the same stuff here: http://zopewiki.org/ZopeAndApache -- Paul Winkler http://www.slinkp.com
participants (2)
-
kevinthackray@free.fr -
Paul Winkler