[EMAIL PROTECTED] wrote:
I see.  I'm not using a cgi directory, but am running scripts out of the
normal root/sub directories.  Here's what I have in httpd right now:

LoadModule php4_module        modules/libphp4.so
LoadModule perl_module        modules/mod_perl.so
PerlModule Apache2

******

DocumentRoot "/wwwroot/htdocs"

Alias /perl/ /wwwroot/htdocs/
<Location /wwwroot/htdocs/>

It needs to be: <Location /perl/> If you plan to serve script as in http://localhost/perl/myscript.pl

    SetHandler perl-script
    PerlResponseHandler ModPerl::Registry
    PerlOptions +ParseHeaders
    Options +ExecCGI
</Location>

As you wrote that, it's totally useless. It doesn't do anything.

******

<Directory />
    Options FollowSymLinks
    AllowOverride None
</Directory>
<Files ~ "\.(pl)$">
    SetHandler perl-script
    PerlHandler Modperl::Registry
</Files>
PerlRequire /wwwroot/htdocs/WebGUI/sbin/preload.perl
Alias /extras /wwwroot/htdocs/WebGUI/www/extras

I've included the last section because it is of the preload.perl.  I
don't think it's causing any interference, but I though it would be a
good idea to include it just in case.

You probably want:

<Files ~ "\.(pl)$">
    SetHandler perl-script
    PerlHandler Modperl::Registry
    PerlOptions +ParseHeaders
    Options +ExecCGI
</Files>
PerlRequire /wwwroot/htdocs/WebGUI/sbin/preload.perl

Looks like you may want to spend some time hugging a book on Apache. Or read the online docs on how the Apache configuration works. All these issues aren't really mod_perl-specific.

Please let us know if the problem still persists with the fixed config.


-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to