Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Internal Server Error

Status
Not open for further replies.

vbkris

Programmer
Jan 20, 2003
5,994
IN
o.k i am a newbie...

i have a cgi file that runs file in my local server. but once i upload it i get the error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@ilovetiny.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

the program is a simple program:
#!/usr/bin/perl
print "Content-type:text/html\n\n";
print "hello world";



HELP!!!!

Known is handfull, Unknown is worldfull
 
Chances are you're trying to run it outside a cgi-bin specified directory under Apache, and your own local server is much more forgiving.

Daniel's point is v.valid though - check the logs and come back, on Apache under linux usually var/log/httpd/error_log, also look at the cgi.log as well

--Paul

It's important in life to always strike a happy medium, so if you see someone with a crystal ball, and a smile on their face ...
 
i am unable to check the log. it is on the web. it works fine in my system though...

Known is handfull, Unknown is worldfull
 
If your system, and the system on the web were identical, you wouldn't have a problem if it works on your setup.

Problem, they're not the same, hence issue
Problem, there is a known error, and its in the logs
Problem, we have no idea of your operating systems, or webservers, or where the script resides on the server (webside)

If you give us something to work with we might be able to assist

--Paul


It's important in life to always strike a happy medium, so if you see someone with a crystal ball, and a smile on their face ...
 
hi,
solved the problem (it was a permission error). thanks for ur time guys...

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top