Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using perl with apache 1

Status
Not open for further replies.

dazn

Programmer
Joined
Nov 15, 2001
Messages
3
Location
US
Hi.

I'm fairly new with apache, and I can't seem to figure out how to get perl to work on it. I have apache running on WinXP (c:\program files\... and so on), and have active perl installed on c:\perl. I have #!/usr/bin/perl as my first line in a test cgi (env.pl that came with active perl). Any suggestions on what I would need to do?
 
Please don't don't change the shebang line. If you do that it will not on anything but Windows, which then breaks the code's portability.

Apache has the foresight to realise that some may want to run scripts on windows from within Apache, so all you need to do is find the following line in your http.conf file and uncomment it.

ScriptInterpreterSource registry


HTH,
Barbie. Leader of Birmingham Perl Mongers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top