Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Don't ask to ask, just ask
 
PerlMonks  

Re: Re: for mod-perl gurus

by ralphie (Friar)
on Nov 19, 2001 at 21:16 UTC ( [id://126406]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: for mod-perl gurus
in thread for mod-perl gurus

actually, i can determine the validity of the result sets in pretty straightforward fashion, and i'm getting the right stuff ...

chunks of httpd.conf

<Directory /home/username/mod-perl/> AllowOverride None Options ExecCGI Order allow,deny Allow from all </Directory> <IfModule mod_perl.c> Alias /mod-perl /home/username/mod-perl <Location /mod-perl> SetHandler perl-script PerlHandler Apache::Registry Options +ExecCGI </Location> </IfModule> Alias /perl/ /home/username/mod-perl/

Replies are listed 'Best First'.
Re: Re: Re: for mod-perl gurus
by perrin (Chancellor) on Nov 19, 2001 at 22:04 UTC
    Okay, it looks like if you request a URL in /mod-perl you will be running correctly uder Registry. You can test this by printing out the special $ENV{MOD_PERL} variable in your script. Before you installed this, I assume you were running under CGI, which yuo configured with the ExecCGI option.

    If you're getting the right data back in your script, but it isn't going to the screen, you may be using globals incorrectly (they don't get cleared out between requests under Apache::Registry). If you're using modules and changing them without restarting the server, your changes may not be getting picked up. But I thought you said you were NOT getting the right stuff?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://126406]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.