[Lxr-dev] [ lxr-Bugs-428514 ] cgi scripts only run under mod_perl
Brought to you by:
ajlittoz
From: <no...@so...> - 2001-10-09 05:42:10
|
Bugs item #428514, was opened at 2001-05-29 18:19 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=428514&group_id=27350 Category: Browsing Group: None >Status: Closed >Resolution: Wont Fix Priority: 5 Submitted By: Malcolm Box (mbox) Assigned to: Nobody/Anonymous (nobody) Summary: cgi scripts only run under mod_perl Initial Comment: There doesn't seem to be a good reason to require these scripts to run under mod_perl only (although it has obvious performance improvements). Not requiring mod_perl would enable other webservers/platforms to be used more easily ---------------------------------------------------------------------- >Comment By: Malcolm Box (mbox) Date: 2001-10-08 22:42 Message: Logged In: YES user_id=215386 The workaround suggested below will work for those that care, and it's not worth renaming everything in the main tree. ---------------------------------------------------------------------- Comment By: Malcolm Box (mbox) Date: 2001-05-29 19:37 Message: Logged In: YES user_id=215386 Moving this to later unless anyone is really bothered by having to have mod_perl. ---------------------------------------------------------------------- Comment By: Malcolm Box (mbox) Date: 2001-05-29 19:35 Message: Logged In: YES user_id=215386 More investigation: Removing the print "HTTP/1.0 200 OK" line from printhttp (in Common.pm) allows the scripts to run under CGI without problems, but then running under Apache::Registry causes some HTTP headers to show up in the HTML. Probably the correct solution for CGI at the moment is to rename the scripts to nph-* so that they can issue the HTTP headers directly (as they do under Apache::Registry). Currently I can find no way to switch mod_cgi into nph mode for all/selected files. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=428514&group_id=27350 |