[Lxr-dev] [ lxr-Bugs-428514 ] cgi scripts only run under mod_perl
Brought to you by:
ajlittoz
From: <no...@so...> - 2001-10-09 09:11:43
|
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: Jan-Benedict Glaw (jbglaw) Date: 2001-10-09 02:11 Message: Logged In: YES user_id=308126 Well, there's one more thing which would better done in separated processed (than in this wuss of mod_perl scripts). For example, I think quite some of my "lib not found" problems wouldn't occure in running separately. These errors tend to resolve when I request the page as often as needed to get the initial apache worker process... ---------------------------------------------------------------------- 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 |