|
Re: mod_perl and mod_cgi problems: msg#00591apache.mod-perl
Sending you a piece of my httpd.conf file: LoadModule perl_module /local/lib/apache/libperl.so AddHandler cgi-script .cgi <IfModule mod_perl.c> <Location /tools/admin/perl-status> SetHandler perl-script PerlHandler Apache::Status PerlSetVar StatusDumper On PerlSetVar StatusPeek On PerlSetVar StatusGraph On </Location> </IfModule> <IfModule mod_perl.c> PerlFreshRestart On PerlSetupEnv On PerlSendHeader On AddHandler perl-script .mpl PerlHandler Apache::Registry </IfModule> -> I've tryed using "PerlHandler Apache::PerlRun" with same result as Apache::Registry. Adding "PerlSetVar PerlRunOnce On" -> everything works fine, but then again whats the need of using mod_perl then? mod_perl and apache are compiled using the same compiler (cc is /local/CC/SUNWspro/bin/cc) $ httpd -l Compiled-in modules: http_core.c mod_env.c mod_define.c mod_log_config.c mod_mime.c mod_status.c mod_info.c mod_include.c mod_autoindex.c mod_dir.c mod_cgi.c mod_asis.c mod_imap.c mod_actions.c mod_alias.c mod_go.c mod_access.c mod_auth.c mod_auth_anon.c mod_auth_dbm.c mod_auth_db.c mod_expires.c mod_headers.c mod_unique_id.c mod_so.c mod_setenvif.c Stas Bekman wrote: Magnar Stav Johanssen wrote: Well, I've used google.com alot, but maybe I didn't push the "magic" button!
For testing I've tuned down my MaxServers to 5 so I easier can trace httpd. In production MaxServers has been tuned for its amount of Memory! http://marc.theaimsgroup.com/?l=apache-modperl&m=97363770902299&w=2 The latest "Linker patch" are installed on the server... Regards! |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [mp2]: 00591, Lee Goddard |
|---|---|
| Next by Date: | Re: [ANNOUNCE] libapreq-1.1 is out: 00591, Matt Sergeant |
| Previous by Thread: | Re: mod_perl and mod_cgi problemsi: 00591, Stas Bekman |
| Next by Thread: | Re: mod_perl and mod_cgi problems: 00591, Stas Bekman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |