Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^4: Apache Registry with Server Side Includes

by Eliya (Vicar)
on Jan 02, 2012 at 15:24 UTC ( #945930=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Apache Registry with Server Side Includes
in thread Apache Registry with Server Side Includes

Try using CGI::Simple instead of CGI.pm (at least for testing purposes).   I've occasionally seen similar weirdness with CGI.pm (i.e. parameters not being cleared/reread upon subsequent requests) when being used in persistent contexts, and switching to CGI::Simple fixed it.


Comment on Re^4: Apache Registry with Server Side Includes
Select or Download Code
Re^5: Apache Registry with Server Side Includes
by bbfan (Novice) on Jan 02, 2012 at 19:05 UTC
    Eliya, Thanks for the suggestion to use CGI::Simple. Had not used it before. Changed:

    use CGI qw(-compile :all);
    to
    use CGI::Simple::Standard qw(param header);
    without success. Same results.

    Regarding the CGI.pm "-nosticky" mentioned in another post, came across the same documentation that clarify what nosticky does, and does not, do; nice to get confirmation on that, thanks.

    Was initially thinking that the issue was with ModPerl::Registry or mod_include, but it sounds like CGI.pm may be influencing the result? Recall that this works as expected when ModPerl::Registry is removed from the equation.

    Am wondering if any readers may have time to reproduce the issue using the code/config in this thread, thus eliminating something that is particular to my installation?

      Hmm.  Are you sure cou haven't disabled SetupEnv somewhere (e.g. globally)?  It should be "on" by default, but maybe try enabling it explicitly:

      ... PerlOptions +SetupEnv
        Well, that was worth a try. Explicitly setting it to plus had no noticeable effect; however, setting it to "minus" wreaked havoc. Will post over on the mod_perl list - they may be able to offer additional advice.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://945930]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2014-11-27 08:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (182 votes), past polls