Dan Horne wrote:
From: Michael Peters
Like Rhesa said, just make sure that the SetEnv and PerlSetEnv happen
before either your startup.pl or the PerlModule directives.


Michael,

This is from my httpd.conf file:

SetEnv  CAP_DEVPOPUP_EXEC 1
Include conf/perl.conf
PerlRequire conf/startup.pl

And to be extra paranoid, in my perl.conf:

<Location "/cms-bin">
       SetHandler     perl-script
       PerlSetEnv     CAP_DEVPOPUP_EXEC 1
       PerlHandler    Apache::Registry
       PerlSendHeader On
       allow from all
       Options        +ExecCGI
</Location>

I'm using Perl 5.8.0, mod_perl 1.29, Apache 1.3.33


Here's mine, and that works fine:

        SetEnv CAP_DEVPOPUP_EXEC 1
        PerlRequire /home/rhesa/www/scripts/startup.pl
        <Location /mpscripts>
                SetHandler perl-script
                PerlHandler Apache::Registry
                Options +ExecCGI
        </Location>

Running perl 5.8.4, mod_perl 1.29, Apache 1.3.33

Only difference is where you load your perl.conf, but I can't imagine that matters.

The quick fix should be setting the env var in your startup.pl.

Rhesa

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
             http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to