Grant,
You may have a problem because the "SetHandler perl-script" directive goes in a
container that is based on the url. If you remove all directories from the url, the
handler for mod_perl won't get used.
I have the following in my http.conf file:
Alias /perl/ "e:/Apache2/cgi-perl/"
<Location /perl>
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
Options +ExecCGI
PerlOptions +ParseHeaders
</Location>
A url used in my system look like this:
https://cgoehring.resourceconsultants.com/perl/inSIMSFrameSet.cgi
Without /perl/ in the url, mod_perl doesn't get used.
You may be able to just put the following in the root level (outside of any container)
but the mod_perl would handle every request made of your server including html pages.
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
Options +ExecCGI
PerlOptions +ParseHeaders
You could do like I do with any alias you want, but I think you need something.
I have no other answer for you but the others might.
Chuck
-----Original Message-----
From: Grant [mailto:[EMAIL PROTECTED]
Sent: Monday, June 28, 2004 1:59 PM
To: [EMAIL PROTECTED]
Subject: startup.pl confusion
I have enabled mod_perl for apache2, and that appears
to be working fine. Now I need to get a mod_perl
module called Interchange::Link running. It is
supposed to let me access my pages like this:
mydomain.com/sample.html
instead of this:
mydomain.com/cgi-bin/catalog/sample.html
Since the former still doesn't work, I don't think the
module is loading properly. I think where I'm stuck
is the startup.pl file that is supposed to tell the
system where the Interchange::Link.pm file is. I have
the file in /usr/lib/perl5/site_perl/5.8.2/startup.pl
and it contains:
use lib qw(/usr/lib/perl5/site_perl/5.8.2);1;
which seems kind of redundant to me, but it seems to
be what the brief Interchange::Link README file asks
for. I then have the following:
/usr/lib/perl5/site_perl/5.8.2/Interchange/Link.pm
Does anyone see where I might be slipping up?
- Grant
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail
--
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
--
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