[Zope] my Zope too slow behind Apache.
Farrell, Troy
troy.farrell@wcg.com
Wed, 18 Jul 2001 09:03:10 -0500
My VH looks like this:
<VirtualHost caustic.wcg.williams.com:80>
ServerAdmin troy.farrell@wcg.com
ServerName caustic.wcg.williams.com
ProxyPass /
http://caustic.wcg.williams.com:8080/VirtualHostBase/http/caustic.wcg.willia
ms.com:80/VirtualHostRoot/
ProxyPassReverse /
http://caustic.wcg.williams.com:8080/VirtualHostBase/http/caustic.wcg.willia
ms.com:80/VirtualHostRoot/
ProxyPass /misc_ http://caustic.wcg.williams.com:8080/misc_
ProxyPass /p_ http://caustic.wcg.williams.com:8080/p_
ProxyVia on
</VirtualHost>
In my limited ProxyPass experience, it rocks. Try something like this:
<VirtualHost 192.168.0.252>
ServerName new.fiducia-china.com
ServerAdmin info@mydomain.com
ServerName www.mtpleasant-jin.kirkless.sch.uk
ProxyPass /
http://localhost:8080/VirtualHostBase/http/mydomain.com:80/myfolder/VirtualH
ostRoot/
ProxyPassReverse /
http://localhost:8080/VirtualHostBase/http/mydomain.com:80/myfolder/VirtualH
ostRoot/
ProxyPass /misc_ http://localhost:8080/misc_
ProxyPass /p_ http://localhost:8080/p_
ProxyVia on
</VirtualHost>
I get my information from:
http://www.zope.org/Members/unfo/apache_zserver_ssl
http://www.zope.org/Members/anser/apache_zserver
http://www.zope.org/Members/bfordham/docs/zope_and_others
http://www.zope.org/Members/robert/doc/zope_and_apache
http://www.zope.org/Members/htrd/howto/proxy_options
Troy
-----Original Message-----
From: seb bacon [mailto:seb@jamkit.com]
Sent: Wednesday, July 18, 2001 5:50 AM
To: Ismet Dere
Cc: zope@zope.org
Subject: Re: [Zope] my Zope too slow behind Apache.
In my limited ProxyPass experience, it kind of sucks. Apart from
that, it looks to me like you want to use mod_rewrite there instead of
proxypass. There's a howto somewhere on zope.org about
VirtualHostMonsters which uses mod_rewrite. Here's my http.conf:
<VirtualHost 213.210.4.254>
ServerAdmin root@localhost
DocumentRoot /usr/local/apache/htdocs
ServerName www.mtpleasant-jin.kirkless.sch.uk
DirectoryIndex index_html
RewriteEngine on
RewriteRule /(.*)
http://localhost:9080/LiveSites/VirtualHostBase/http/www.mtpleasant-jin.kirk
lees.sch.uk:80/mtpleasant/VirtualHostRoot/$1 [e=HTTP_CGI_AUTHORIZATION:%1,P]
</VirtualHost>
seb
* Ismet Dere <ismet@fiducia-china.com> [010718 04:57]:
> hello all,
>
> my zope(2.3.x) is too slow servinng behind apache, compared to default way
> (port 8080) or am i missing something?
>
> here's my virtual host apache httpd.conf (rh linux 7.1)
>
> <VirtualHost 192.168.0.252>
> ServerName new.fiducia-china.com
> ServerAdmin info@mydomain.com
> ProxyPass /
>
http://localhost:8080/VirtualHostBase/http/mydomain.com:80/myfolder/VirtualH
> ostRoot/
> ProxyPassReverse /
>
http://localhost:8080/VirtualHostBase/http/mydomain.com:80/myfolder/VirtualH
> ostRoot/
> </VirtualHost>
>
> ismet
>
>
> _______________________________________________
> 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 )
--
[] j a m k i t
seb bacon
T: 020 7749 7218
F: 020 7739 8683
M: 07968 301 336
W: www.jamkit.com
_______________________________________________
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 )