I'm trying to use mod_fastcgi with Apache and Quixote-0.4.4 on the
standard demo. The demo runs, but it is not persistent (i.e., I do not
notice any speed up over normal CGI). I see the Python process start
up, but it terminates as soon as the request is finished.
The only fascgi configuration (apart from module loading) is:
AddHandler fastcgi-script fcgi
I have copied demo.cgi to demo.fcgi and I access the latter.
It does run, but not quickly.
Thanks for any help.
If it helps, here is my Apache server-info
Server Settings, mod_fastcgi.c, mod_auth_pam.c, mod_watch.c, mod_php4.c,
mod_setenvif.c, mod_so.c, mod_unique_id.c,
mod_example.c, mod_usertrack.c, mod_headers.c, mod_expires.c,
mod_cern_meta.c, mod_proxy.c, mod_digest.c,
mod_auth_db.c, mod_auth_dbm.c, mod_auth_anon.c, mod_auth.c,
mod_access.c, mod_rewrite.c, mod_alias.c, mod_userdir.c,
mod_speling.c, mod_actions.c, mod_imap.c, mod_asis.c, mod_cgi.c,
mod_dir.c, mod_autoindex.c, mod_include.c,
mod_info.c, mod_status.c, mod_negotiation.c, mod_mime.c,
mod_mime_magic.c, mod_log_referer.c, mod_log_agent.c,
mod_log_config.c, mod_env.c, mod_vhost_alias.c, mod_mmap_static.c,
http_core.c
Server Version: Apache/1.3.20 (Unix) mod_fastcgi/2.2.12
mod_auth_pam/1.0a mod_watch/2.1 PHP/4.0.6
Server Built: Sep 8 2001 13:24:21
API Version: 19990320:10
Run Mode: standalone
User/Group: nholtz(152)/65534
Hostname/port: miranda.docuweb.ca:80
Daemons: start: 2 min idle: 2 max idle: 5 max: 150
Max Requests: per child: 0 keep alive: on max per connection: 100
Threads: per child: 0
Excess requests: per child: 0
Timeouts: connection: 300 keep-alive: 15
Server Root: /files/www/admin/httpd
Config File: conf/httpd.conf
PID File: /files/www/admin/httpd/logs/httpd.pid
Scoreboard File: /files/www/admin/httpd/logs/httpd.scoreboard
Module Name: mod_fastcgi.c
Content handlers: application/x-httpd-fcgi , fastcgi-script
Configuration Phase Participation: Child Init, Create Directory Config,
Child Exit
Request Phase Participation: Check Access, Verify User ID, Verify User
Access
Module Directives:
AppClass -
FastCgiServer -
ExternalAppClass -
FastCgiExternalServer -
FastCgiIpcDir -
FastCgiSuexec -
FastCgiWrapper -
FCGIConfig -
FastCgiConfig -
FastCgiAuthenticator - a fastcgi-script path (absolute or relative
to ServerRoot) followed by an optional
-compat
FastCgiAuthenticatorAuthoritative - Set to 'off' to allow
authentication to be passed along to lower modules
upon failure
FastCgiAuthorizer - a fastcgi-script path (absolute or relative to
ServerRoot) followed by an optional -compat
FastCgiAuthorizerAuthoritative - Set to 'off' to allow
authorization to be passed along to lower modules upon
failure
FastCgiAccessChecker - a fastcgi-script path (absolute or relative
to ServerRoot) followed by an optional
-compat
FastCgiAccessCheckerAuthoritative - Set to 'off' to allow access
control to be passed along to lower modules
upon failure
Current Configuration:
--
Neal Holtz http://www.docuweb.ca/~nholtz
Dept. of Civil and Environmental Engineering, Carleton University,
Ottawa, Ontario, Canada K1S 5B6. nholtz@docuweb.ca