Red Hat Bugzilla – Bug 103891
Bad config syntax for /perl-status in default config
Last modified: 2007-04-18 12:57:25 EDT
The example configuration in /etc/httpd/conf.d/perl.conf for /perl-status in
1.99_09-8 doesn't work; Apache::Status seems to need Apache::compat and the
documentation at http://perl.apache.org/docs/2.0/api/Apache/Status.html uses the
modperl handler instead of perl-script. Additionally, with the modperl handler,
"PerlOptions +GlobalRequest" seems to be needed. Patch follows.
Created attachment 94279 [details]
Fix for /perl-status config
I've added the PerlModule Apache::compat line to perl.conf, but I left the other
two out. The other example in the file uses the perl-script handler, so for
consistency I've left the status example using it too, and if you do change it
to modperl then it's pretty obvious that you need "PerlOptions +GlobalRequest".
Does this seem reasonable?
Yes, I noticed that the perl-script / no PerlOptions +GlobalRequest combination
works too. Sounds ok to me. I'm not sure what to do with the status of this
bug so reassigning... :)
Reassigning is cool; I'll close it when I've built the new package...