Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Rob Hunter
Ranch Hand
Posts: 832
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 346
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Rob Hunter
Ranch Hand
Posts: 832
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic