Gossamer Forum
Home : Products : Gossamer Links : Discussions :

How To Start Mod_perl???

Quote Reply
How To Start Mod_perl???
Hi:

Sorry- I am a REAL Unix-Newbie!

I got it (mod_perl) installed just fine, added the <Location> tags to httpd.conf fine, created a startup.pl fine.... but when I do the PerlRequire /path/to/startup.pl, I get: PerlRequire: Command Not Found

What might i be doing wrong? Oh, and Alex's notes say to "restart Mod_perl" how does one do this?

THanks!

dave

Quote Reply
Re: How To Start Mod_perl??? In reply to
OK, I THINK I figured part of this out.... the "PerlRequire /path/to/startup.pl" command goes inside the <Location> container, is that right? (I was trying to run it telnet....) httpd restarted ok, so I figured that was it...

But I still do not see how to restart mod_perl... I restarted httpd, and checked setup/environment, and I still get "Persistant Env: mod_perl (0) SpeedyCGI (0)" so I ASSUME mod_perl is not running yet...

dave

Quote Reply
Re: How To Start Mod_perl??? In reply to
No PerlRequire goes in httpd.conf and not within <Location>

To restart mod_perl just restart Apache.

Paul
Installations:http://wiredon.net/gt/
Support: http://wiredon.net/forum/

Quote Reply
Re: How To Start Mod_perl??? In reply to
Paul:

Thanks- I pulled PerlRequire out of the <Location> tag... but it still does not seem to be running...

dk

Quote Reply
Re: How To Start Mod_perl??? In reply to
Links SQL comes with a README about how to set up the script with mod_perl.

General mod_perl installation questions should go in ther Perl, CGI and More forum....

You may find some useful info here.......

http://perl.apache.org/




Paul
Installations:http://wiredon.net/gt/
Support: http://wiredon.net/forum/

Quote Reply
Re: How To Start Mod_perl??? In reply to
Well, how about his question: Do I need to r-install Links to get it to recognize mod_perl, or will if just figure it out and update itself? I cannot find the place to tell Links to use persistant envoronments, I thoyught that used to be in there...

dave

Quote Reply
Re: How To Start Mod_perl??? In reply to
You can set it manually in either Config.pm or ConfigData.pm (can't remember which off the top of my head).

Paul
Installations:http://wiredon.net/gt/
Support: http://wiredon.net/forum/

Quote Reply
Re: How To Start Mod_perl??? In reply to
You don't need to reinstall or alter links to make it work under mod_perl. It will automatically detect it. You should see mod_perl (1) if you are running under mod_perl. If you don't see that, then it's still just regular cgi. =)

Cheers,

Alex

--
Gossamer Threads Inc.