
" at "<""@genuity
Jan 30, 2003, 5:01 PM
Post #5 of 6
(490 views)
Permalink
|
Thanks! I've actually made some kind of progress on this case... I've found a workaround... I don't fully like it, so if anyone got a sugestion for aprovement, please tell me! This was the "problem area" in my old httpd.conf: (...) AddHandler cgi-script .cgi <IfModule mod_perl.c> AddHandler perl-script .mpl PerlHandler Apache::Registry </IfModule> I've converted it into this: <IfModule mod_perl.c> AddHandler perl-script .cgi PerlHandler Apache::PerlRun PerlSetVar PerlRunOnce On </IfModule> <IfModule mod_perl.c> AddHandler perl-script .mpl PerlHandler Apache::Registry </IfModule> This works fine, but it will only work for perl-scripts and not for shell-scripts. Well, to bad! For the perl-script part it actually runs faster! Apache don't need to fork any new processes to compile the cgi... If I add the following line to my httpd.conf: AddHandler cgi-script .sh This will most likely (not tested) fail like .cgi did when I used cgi-script-handler in apache... So the problem aren't solved yet! Stas Bekman wrote: >> The latest "Linker patch" are installed on the server... > > > In that case I hope that somebody else who's on Solaris could step in > and help. I do hope that someone can explain to me why mod_cgi and mod_perl don't work well together. It worked just fine using apache 1.3.14 and mod_perl 1.X (another version I can't remember). But with apache 1.3.27 and mod_perl 1.27, it didn't.
|