pcgi or fastcgi with siteroot possible ?
Hi, ist it possible to use the siteroot product with fastcgi or pcgi ? If yes how do the rewrite rules for apache look like ? All HowTos seam to use the proxy aproach. Mit freundlichen Grüßen Joachim Schmitz -------------------------------------------------------------------- AixtraWare Ingenieurbüro für Internetanwendungen Hüsgenstr. 33a, D-52457 Aldenhoven Telefon: +49-2464-8851, FAX: +49-2464-905163 -------------------------------------------------------------------- Key fingerprint = DA10 CC82 62F8 1DBB 39A1 1EDC 725B 3317 A8D7 C3A6 Keyserver: http://germany.keyserver.net/en/
On Mon, Jan 28, 2002 at 07:27:33PM +0100, Joachim Schmitz wrote:
ist it possible to use the siteroot product with fastcgi or pcgi ? If yes how do the rewrite rules for apache look like ? All HowTos seam to use the proxy aproach.
Perfectly possible. I use both (just to experiment). This way: <IfModule mod_pcgi2.c> PCGI_NAME Zope PCGI_MODULE_PATH /usr/local/Zope/lib/python/Zope PCGI_PUBLISHER /usr/local/Zope/pcgi/pcgi_publisher.py PCGI_EXE /usr/local/bin/pythonX PCGI_SOCKET_FILE /usr/local/Zope/var/pcgi.soc PCGI_PID_FILE /usr/local/Zope/var/pcgi.pid PCGI_ERROR_LOG /usr/local/Zope/var/pcgi.log PCGI_DISPLAY_ERRORS 1 <Location /zope.net.ru> SetHandler pcgi-handler PCGI_ROOT /VirtualHostBase/http/phd.russ.ru/zope.net.ru/VirtualHostRoot/_vh_zope.net.ru </Location> </IfModule> <IfModule mod_fastcgi.c> ScriptAliasMatch ^/fcgi/zope.net.ru(.*)$ /usr/local/apache/htdocs/fcgi/VirtualHostBase/http/phd.russ.ru/zope.net.ru/VirtualHostRoot/_vh_fcgi/_vh_zope.net.ru$1 ScriptAliasMatch ^/fcgi(.*)$ /usr/local/apache/htdocs/fcgi$1 FastCgiExternalServer /usr/local/apache/htdocs/fcgi -socket /usr/local/Zope/var/fcgi.soc -pass-header Authorization <Location /fcgi> SetHandler fastcgi-script </Location> </IfModule> Oleg. -- Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
participants (2)
-
Joachim Schmitz -
Oleg Broytmann