![]() |
|
#1
|
|||
|
|||
|
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. |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
|||
|
|||
|
Thanks, I tried the above and also experimented with different text editors as well as FTP programs and got it working.
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|