How to remove 8080 from url
Hello, i run apache as a front end for Zope. One directory, www.foo.com/dir1/ is run by Zope, all the others by Apache. I use proxypass: ProxyPass /dir1/ http://www.foo.com:8080/dir1 ProxyPassReverse /dir1/ http:/www.foo.com:8080/dir1 The problem i have is quite simple: urls inside dir1 have the port 8080. Is there a way to remove it? Thanks, Bruno ______________________________________________________________________ Do You Yahoo!? Il tuo indirizzo gratis e per sempre @yahoo.it su http://mail.yahoo.it
You need to insert a SiteRoot object into /dir1 in Zope. The base of the object should be set to http://www.foo.com/dir1 (no 8080). This takes care of rewriting all[1] URLs in the data being returned. Experience has shown me that its a good idea to have a backup of your Data.fs before you start doing this. Zope can be a bit difficault to handle when the management interface isn't accessible. SiteRoot is a part of newer releases of Zope and can also be found as an individual product on zope.org [1] Well, not all but most :-) Martin Skøtt mskott@image.dk On Mon, 11 Jun 2001, Brown Fox wrote:
Hello, i run apache as a front end for Zope. One directory, www.foo.com/dir1/ is run by Zope, all the others by Apache. I use proxypass: ProxyPass /dir1/ http://www.foo.com:8080/dir1 ProxyPassReverse /dir1/ http:/www.foo.com:8080/dir1 The problem i have is quite simple: urls inside dir1 have the port 8080. Is there a way to remove it?
Thanks, Bruno
______________________________________________________________________ Do You Yahoo!? Il tuo indirizzo gratis e per sempre @yahoo.it su http://mail.yahoo.it
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Brown Fox -
Martin Skøtt