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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Active pearl

Status
Not open for further replies.
Jul 6, 2001
6
US
First thing, im an ASP guy. My company has recently moved several websites containing pearl scripts onto my servers. Basically i am at a loss. I installed active pearl onto the server, and have mapped .cgi and .pl to pearl.exe%s%s and pearlis.exe.
Having done this i was under the impression that things would work. nothing could be further from the truth. On one script in particular i continually recieve a 'method not allowed' even though the entire web is set to execute.
I would be indebted to anyone who could see thier way to help me out a bit.
Thanks in advance,
Micah A. Norman

mnorman1@mediaone.net


 
Ok, I can help, I hope. First, the language is Perl, not Pearl, it used to be Pearl, back in its starting days, but not anymore.

Ok, continuing on, since have been running ASP, I assume that you have been running IIS. If so, then you need to check in the configuration files for IIS to see how IIS finds the perl interpreter.

Also, at the top of every CGI script, try adding something like this:

[tt]
#!C:/perl/bin/perl
[/tt]

Where C:/perl/bin/perl is the location of the perl interpreter. This is not normally used on Windows machines, but it doesn't hurt to try.

Can you post the part of the config file that would locate the perl interpreter?

Hope this helps.
Thanks,
-Vic vic cherubini
krs-one@cnunited.com
====
Knows: Perl, HTML, JavScript, C/C++, PHP, Flash
====
 
do you mean in the IIS application configuration screen?

Micah A. Norman

micah@dotanything.com
 
Also i need to figure out how to make this message go away:
HTTP Error 405
405 Method Not Allowed

The method specified in the Request Line is not allowed for the resource identified by the request. Please ensure that you have the proper MIME type set up for the resource you are requesting.

Please contact the server's administrator if this problem persists.
thanks in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top