Quadra Hosting Forums  

Go Back   Quadra Hosting Forums > Programming and Scripting > CGI Scripting

Reply
 
Thread Tools Display Modes
  #1  
Old 19-01-2007, 01:24 PM
gomez gomez is offline
Junior Member
 
Join Date: Dec 2006
Posts: 2
gomez is on a distinguished road
Default 500 Internal Server Error

I am trying to run a test pearl script but get a 500 Internal Server Error.

I have done the following

1. set path - #!/usr/bin/perl
2. used a pearl script editor
3. uploaded the file in ASCII
4. chmod file 775
5. the file extension is .pl
6. testing the file removing www. (http://mysite.com/cgi-bin/test.pl) from my url

If anyone can think of anything I am missing please let me know.

I know that pearl scripts work in my cgi-bin as awstats work fine.
Reply With Quote
  #2  
Old 16-10-2007, 09:56 PM
cybecom cybecom is offline
Junior Member
 
Join Date: Feb 2005
Posts: 15
cybecom
Default

Try:

1) Make sure .pl is an available perl extension in your web server set up although it should be as I think it is set up as one of the defaults (unless it has been deleted). If it has been deleted, once you add it in again, don't forget to hit the apply button somewhere near the top of that same page.

2) Double-check permissions. Sometimes I've thought I've set permissions to 755 only to find they haven't changed.

3) Double-check file uploaded in ASCII. I've sworn in the past I've done that only to find a re-upload in ASCII has solved the problem.

Regards

Michelle
Reply With Quote
  #3  
Old 23-10-2007, 07:59 AM
Jim Jim is offline
Quadra Hosting Staff
 
Join Date: Aug 2003
Posts: 1,245
Jim has disabled reputation
Default

The main problems are usually what Michelle had listed. In case if it still doesn't work, try the more obscure stuff from our checklist here:
https://support.quadrahosting.com/in...&kbarticleid=5
Reply With Quote
  #4  
Old 03-11-2007, 01:55 PM
gomez gomez is offline
Junior Member
 
Join Date: Dec 2006
Posts: 2
gomez is on a distinguished road
Default

Thanks, I tried the above and also experimented with different text editors as well as FTP programs and got it working.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +10. The time now is 09:19 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright© Quadra Hosting