Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^10: Apache Registry with Server Side Includes

by Anonymous Monk
on Jan 02, 2012 at 23:48 UTC ( [id://945980]=note: print w/replies, xml ) Need Help??


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

Open to more suggestions... Thanks!

Um, what happened? What was the output? How did the cgi-bin output differ from mod_perl?

Replies are listed 'Best First'.
Re^11: Apache Registry with Server Side Includes
by bbfan (Novice) on Jan 06, 2012 at 13:46 UTC
    When the SSI called the script that was in the "cgi-bin" directory, the printout was 1..5, 1..10 and 1..30.

    When the SSI called the same script in the "mod_perl" directory, the printout was 1..5, 1..5 and 1..5.

      So you did not run my DebugCGI?

      You had already mentioned that 1..30/ 1..5 difference

      DebugCGI should dump CGI object, along with %ENV -- really important debugging aids that help you narrow down the problem

        Attempted to clarify the difference in a follow up to a question on it. If someone is trying to help, am not going to turn it away.

        Am glad that you too are still "interested" in this question! Had not run DebugCGI. No unexpected diffs in the %ENV, but what looks like maybe a request handler appeared in the registry-ized object. Am not sure what, if anything, to make of it with regard to this problem. (Note that /perl-status also doesn't turn up anything obvious, either.)

        /cgi-bin/ is as follows:

        $VAR1 = bless( { ".parameters" => [], ".charset" => "ISO-8859-1", ".etab" => 1, ".elid" => 1, ".fieldnames" => {}, ".header_printed" => 1, "escape" => 1 }, 'CGI' );
        ModPerl is as follows:
        $VAR1 = bless( { ".parameters" => [], ".charset" => "ISO-8859-1", ".r" => bless( do{\(my $o = 164475400)}, 'Apache2::RequestRec' ), ".etab" => 1, ".elid" => 1, ".fieldnames" => {}, ".header_printed" => 1, "escape" => 1 }, 'CGI' );

        Big question to me is where do I look - mod_include, ModPerl::Registry, or even CGI?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (7)
As of 2024-03-19 11:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found