|
|
Joined: Mar 2000
Posts: 3,594
Moderator / Template Diva
|
Moderator / Template Diva
Joined: Mar 2000
Posts: 3,594 |
MJ gave me instructions to set this up a good long while ago over AIM, but I have since reformatted and now I can't seem to make it work. So can either MJ or someone else possibly give me the quick rundown on how to make perl scripts execute from any directory under the apache server? I've gone over the Apache/ActiveState docs and faqs and can't seem to make their instructions work. Apache is installed in c:apache, Perl is c:perl, if those matter. And I have the latest version of both. Thanks much. ---Jamin
Don't put that signature in your mouth! You don't know where it's been!
|
|
|
|
Joined: Sep 2000
Posts: 4,211
Master Hacker
|
Master Hacker
Joined: Sep 2000
Posts: 4,211 |
Save yourself some time and some trouble and install Perl to c:usr instead of where it is now. That way, Perl will be in c:usrbinperl (#!/usr/bin/perl).
1. Look for this: [code][/code]Below that will be your Options line for the root dir. Add ExecCGI and Includes to that line. It should look something like "Options ExecCGI Includes".
2. Uncomment this line: "#AddHandler cgi-script .cgi" and then add .pl to the end of it so that it looks like "#AddHandler cgi-script .cgi .pl".
3. Comment out your "ScriptAlias /cgi-bin/" line.
|
|
|
|
Joined: Mar 2000
Posts: 3,594
Moderator / Template Diva
|
Moderator / Template Diva
Joined: Mar 2000
Posts: 3,594 |
Yay, works now. Gracias! ---Jamin
Don't put that signature in your mouth! You don't know where it's been!
|
|
|
|
Joined: Sep 2000
Posts: 4,211
Master Hacker
|
Master Hacker
Joined: Sep 2000
Posts: 4,211 |
You had your doubts?
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|