I've read all the howto's and I can't get it to work. What silly thing have I overlooked? I'm running debian testing. httpd.conf has: ---- begin httpd.conf extract ---- FastCgiExternalServer /var/www/swim \ -host localhost:9673 \ -pass-header Authorization \ -appConnTimeout 0 <Location /swim> SetHandler fastcgi-script </Location> LoadModule fastcgi_module /usr/lib/apache/1.3/mod_fastcgi.so ---- end httpd.conf extract ---- When I put http://localhost/swim in the browser I get a server error: [Wed Apr 10 10:55:08 2002] [error] [client 64.34.82.201] FastCGI: comm with server "/var/www/swim" aborted: idle timeout (30 sec) When I put http://localhost:9673/swim in the browser I get the correct page served by zope. DocumentRoot is /var/www and there is no /var/www/swim. -- "Once the principle of government -- judicial monopoly and the power to tax -- is incorrectly accepted as just, any notion of restraining government power and safeguarding individual liberty and property is illusory." -- Hans-Herman Hoppe Rick Pasotto rickp@telocity.com http://www.niof.net
rickp@telocity.com wrote:
FastCgiExternalServer /var/www/swim \ -host localhost:9673 \ -pass-header Authorization \ -appConnTimeout 0
[...]
When I put http://localhost:9673/swim in the browser I get the correct page served by zope.
Fastcgi is a different protocol and uses a different port. Configure the port with -F option to z2.py Bye -- Luca Olivetti Wetron Automatización S.A. http://www.wetron.es/ Tel. +34 93 5883004 Fax +34 93 5883007
On Wed, Apr 10, 2002 at 05:36:21PM +0200, Luca Olivetti wrote:
rickp@telocity.com wrote:
FastCgiExternalServer /var/www/swim \ -host localhost:9673 \ -pass-header Authorization \ -appConnTimeout 0
[...]
When I put http://localhost:9673/swim in the browser I get the correct page served by zope.
Fastcgi is a different protocol and uses a different port. Configure the port with -F option to z2.py
When I change the line that runs z2.py to /usr/sbin/zope-z2 -X -F 9673 $@ then http://localhost/swim gives me the Zope Welcome page and not the page I created in the root folder. -- Property is prior to law; the sole function of the law is to safeguard the right to property wherever it exists, wherever it is formed, in whatever manner the worker produces it, whether individually or in association, provided that he respects the rights of others. -- Frédéric Bastiat (1801-1850) Rick Pasotto rickp@telocity.com http://www.niof.net
rickp@telocity.com wrote:
FastCgiExternalServer /var/www/swim \ [...]
When I change the line that runs z2.py to
/usr/sbin/zope-z2 -X -F 9673 $@
then http://localhost/swim gives me the Zope Welcome page and not the page I created in the root folder.
That's right: with fastcgi you always get to the root of zope (the apache directory "swim" is mapped to the root of zope). Try http://localhost/swim/swim Probably you need to use the proxypass directive in apache and virtual host monster in zope, but I don't use them and don't know how to use them. Check the archives of the list and zope home page. Bye -- Luca Olivetti
participants (2)
-
Luca Olivetti -
rickp@telocity.com