in reply to Re: mod_perl losing/confusing file paths?
in thread mod_perl losing/confusing file paths?

My httpd.conf file (the applicable parts anyhow) looks like this:
LoadModule perl_module modules/mod_perl.so PerlModule Apache::Registry PerlModule Apache::DBI Alias /perl/ d:/www/perl/ <Location /perl> SetHandler perl-script PerlHandler Apache::Registry Options ExecCGI PerlSendHeader on allow from all </Location>
I haven't done anything special with Apache::Reload, etc. I just copied my CGIs over and tried to run them.

Hope this helps. Thank you!

Replies are listed 'Best First'.
Re: Re: Re: mod_perl losing/confusing file paths?
by Odud (Pilgrim) on May 23, 2001 at 03:37 UTC
    This looks o.k. but is your perl directory in @INC? if not you can add it in the startup script (startup.pl)
    use lib qw(/home/httpd/perl); # for example
    I don't really know why this works but it did for me. Also you can start up Apache with a single server process -XI think which would be worth trying to see if you still get the problem.