Bug 103891 - Bad config syntax for /perl-status in default config
Bad config syntax for /perl-status in default config
Status: CLOSED RAWHIDE
Product: Red Hat Raw Hide
Classification: Retired
Component: mod_perl (Show other bugs)
1.0
All Linux
medium Severity low
: ---
: ---
Assigned To: Gary Benson
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-09-06 12:42 EDT by Ville Skyttä
Modified: 2007-04-18 12:57 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-09-09 05:24:21 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Fix for /perl-status config (481 bytes, patch)
2003-09-06 12:43 EDT, Ville Skyttä
no flags Details | Diff

  None (edit)
Description Ville Skyttä 2003-09-06 12:42:13 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.
Comment 1 Ville Skyttä 2003-09-06 12:43:55 EDT
Created attachment 94279 [details]
Fix for /perl-status config
Comment 2 Gary Benson 2003-09-08 07:28:15 EDT
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?
Comment 3 Ville Skyttä 2003-09-08 11:12:37 EDT
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... :)
Comment 4 Gary Benson 2003-09-08 11:36:29 EDT
Reassigning is cool; I'll close it when I've built the new package...

Note You need to log in before you can comment on or make changes to this bug.