Solved

From Results

Posted on 1997-11-24
8
176 Views
Last Modified: 2013-12-25
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 http://www.createapage.net/sample.html
and if you need the script email me at andrew@createapage.net

Thanks,
Andrew Harp
0
Comment
Question by:andrew441
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 

Expert Comment

by:larsjordan
ID: 1831379
What kind of webserver is it. Is it a Unix or NT ?. Is it set up for running .pl scripts ?

0
 
LVL 5

Expert Comment

by:julio011597
ID: 1831380
It's INTERNAL server error :)

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

-julio
0
 
LVL 5

Expert Comment

by:julio011597
ID: 1831381
BTW, did you set the perl script execute permission on?
0
Why You Need a DevOps Toolchain

IT needs to deliver services with more agility and velocity. IT must roll out application features and innovations faster to keep up with customer demands, which is where a DevOps toolchain steps in. View the infographic to see why you need a DevOps toolchain.

 
LVL 2

Expert Comment

by:rigansen
ID: 1831382
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.

rigansen.
0
 
LVL 1

Expert Comment

by:twexperts
ID: 1831383
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)
0
 
LVL 2

Expert Comment

by:haystor
ID: 1831384
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.
0
 
LVL 1

Accepted Solution

by:
dagmar earned 100 total points
ID: 1831385
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...

#!/usr/local/bin/perl

...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.)

0
 

Author Comment

by:andrew441
ID: 1831386
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.

Thanks,
Andrew Harp
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
OS Selection Menu 1 85
PowerCLI Command For Guest VM Boot Time 1 36
powershell automatic variable for results 21 40
Powershell- Registry HIVE 6 63
Recently I have been answering a lot of questions like this in IT forums that I frequent. The question posed is usually something along the lines of "We have software X installed and need to uninstall it for reason Y" or some other variant of the sa…
In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at http://www.experts-exchange.com/ARTH_5123186.html (http://www.experts-ex…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question