problems using oddmuse with mod_perl2 inside apache2.2 perl 5.8.6

F

Fergus McMenemie

HI,

mod_perl newby! Running oddmuse as a cgi works fine. However inside
mod_perl I only get a blank screen. No error messages of any kind
in any of the apache log files. Other basic mod_perl scripts work fine.
 
B

Brian Wakem

Fergus said:
HI,

mod_perl newby! Running oddmuse as a cgi works fine. However inside
mod_perl I only get a blank screen. No error messages of any kind
in any of the apache log files. Other basic mod_perl scripts work fine.


The second to last line in the source, which calls the sub that gets
everything going is:

DoWikiRequest() if $RunCGI and not exists $ENV{MOD_PERL}; # Do everything.

So if running under mod_perl nothing will happen at all, which is what you
are (not) seeing.
 
F

Fergus McMenemie

Brian Wakem said:
The second to last line in the source, which calls the sub that gets
everything going is:

DoWikiRequest() if $RunCGI and not exists $ENV{MOD_PERL}; # Do everything.

So if running under mod_perl nothing will happen at all, which is what you
are (not) seeing.

Hmmm.. Yes. That does seem clear. Yet the rest of the code contains
comments related to use of mod_perl. Is mod_perl support a work in
progress or something?

It is a pity the documenation does not address this or that the code
does not fail more gracefully.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,197
Messages
2,571,041
Members
47,643
Latest member
ashutoshjha_1101

Latest Threads

Top