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 20, 2001 at 03: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?