#7 cgi scripts only run under mod_perl

Browsing (93)
Malcolm Box

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


  • Malcolm Box

    Malcolm Box - 2001-05-30

    Logged In: YES

    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.

  • Malcolm Box

    Malcolm Box - 2001-05-30

    Logged In: YES

    Moving this to later unless anyone is really bothered by
    having to have mod_perl.

  • Malcolm Box

    Malcolm Box - 2001-05-30
    • status: open --> open-later
  • Malcolm Box

    Malcolm Box - 2001-08-04
    • assigned_to: mbox --> nobody
  • Malcolm Box

    Malcolm Box - 2001-10-09
    • status: open-later --> closed-wont-fix
  • Malcolm Box

    Malcolm Box - 2001-10-09

    Logged In: YES

    The workaround suggested below will work for those that
    care, and it's not worth renaming everything in the main tree.

  • Jan-Benedict Glaw

    Logged In: YES

    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...


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks