This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Perl and the fly likes Does anyone know Perl and have a Quick Response :-)? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Languages » Perl
Bookmark "Does anyone know Perl and have a Quick Response :-)?" Watch "Does anyone know Perl and have a Quick Response :-)?" New topic
Author

Does anyone know Perl and have a Quick Response :-)?

Rob Hunter
Ranch Hand

Joined: Apr 09, 2002
Posts: 815
I have an CGI application (wriiten in Per) works fine on NT but calling one of the pages (while on a Linux Server) fails (i.e. gives an HTTP 500 error). Was wondering if anyone knew what could cause a page to fail from being generated from a Perl script in Linux but not in NT?
SoonAnn Lim
Ranch Hand

Joined: Jun 21, 2001
Posts: 155
You need to post the log message so we can get more information to help you. If you run apache, the error message can be found in /etc/httpd/logs/error_log
Gagan Indus
Ranch Hand

Joined: Feb 28, 2001
Posts: 346
well.. is the path of perl-interpreter correct ?
( the one which you need to provide as first comment line of every perl-script )
i guess on ur linux setup its be diff from NT setup


Gagan (/^_^\) SCJP2 SCWCD IBM486 <br />Die-hard JavaMonk -- little Java a day, keeps you going.<br /><a href="http://www.objectfirst.com/blog" target="_blank" rel="nofollow">My Blog</a>
Rob Hunter
Ranch Hand

Joined: Apr 09, 2002
Posts: 815
Thanks for the response guys.
The script did previously work on the Linux server but after quite a few changes it doesn't now. This would rule out the Perl path problem. In addition, the script still generates most of the pages, its just one page it doesnt "like". As for the log file for Linux, it's our IP that has the Linux server and we can't seem to contact them regarding this problem we're having. So any possible input to why this problem is occurring would be greatly appreciated. Thanks again.
 
jQuery in Action, 2nd edition
 
subject: Does anyone know Perl and have a Quick Response :-)?
 
Similar Threads
Which scripting language to learn for Linux Administration
J2EE (JBoss) + ASP + Perl
Oracle on Solaris( or linux) & webpshere on winnt Connectivity
How to run Perl Pgm!!
Firewalls ?????