From Results

I just got a domain-name. I uploaded a script with an extention of .pl  And it gave me a INTERNATIONAL SERVER ERROR. I don't know whats wrong. So I uploaded a diffrent script with an extention of .cgi and it worked fine. So what I did you rename the file from .pl to .cgi and the same error message came up. Please check it out at
and if you need the script email me at

Andrew Harp
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

What kind of webserver is it. Is it a Unix or NT ?. Is it set up for running .pl scripts ?

It's INTERNAL server error :)

First look into the web server error log to find out what exact error occurred - and tell us back!

BTW, did you set the perl script execute permission on?
PMI ACP® Project Management

Prepare for the PMI Agile Certified Practitioner (PMI-ACP)® exam, which formally recognizes your knowledge of agile principles and your skill with agile techniques.

I think it'd be good you can post your code here, so everybody can see it!!

Besides, the error you're getting is sometimes due to a wrong output generated by the script.

Also if you wrote the script in Dos/Windows, make sure that you saved it as a unix file before U/L'ing it to the server.
Are you hosting the site on your own server or is it a virtual domain? And please do post up the script here for us all to peruse.
Thank you,
Robin (twexperts)
Ok...list of things to check.

-- Make sure the script runs from the command line to begin with.
-- Make sure you have the referring address correct.
-- Make sure you have global, or the appropriate permissions on the script.
-- Make sure the header "Content-type: text/html\n\n" is the first thing printed in the script.
The error is 'INTERNAL server error' as julio stated, I am sure, and the problem is that if you look at the very first line of your perl script, you will probably find that it looks like...


...and you don't have a perl in /usr/local/bin.  You have two options...

1.  Change the line to read #!/usr/bin/perl, or wherever perl is at, or...
2.  Make a symlink from /usr/local/bin/perl to /usr/bin/perl with ln -s /usr/local/perl /usr/local/bin/perl (you will have to do this as root, however.)


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
andrew441Author Commented:
It has been fixed. Thanks for all you help. As it turns out, It was a faulty script. I simpley just entered the new script and It worked fine.

Andrew Harp
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Scripting Languages

From novice to tech pro — start learning today.