perl cgi

Status
Not open for further replies.

schmidte

New Member
Messages
5
Reaction score
0
Points
0
Hi, I'm attempting to create some dynamic content on my webpage, which I've already achieved to some extent with php, but I have some CGI that I want to run.

I orginally wrote the cgi in c++, compiled it on my PPC mac, and uploaded it. I changed the permissions, but it wouldn't run. I tried compiling it on my linux partition, running Ubuntu 6.10, but still, it wouldn't run. Fed up, I rewrote the whole thing in perl, saved it as a .pl, uploaded it, but still it will not run. I have the script stored in public_html/cgi-bin, permissions are set to 755

please help, I don't want to have to do this all with php!

is there something extra I need to do? is there a special account option for cgi?

TIA
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
I double checked, CGI access is enabled on your account. What errors are you getting?
 

schmidte

New Member
Messages
5
Reaction score
0
Points
0
I am getting:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@wtclasses.x10hosting.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.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.39 Server at wtclasses.x10hosting.com Port 80

Such is the error received when I try to access the perl cgi after submitting the form on my main page
The same error is received when I try it with c++, but not when I use php
 
Status
Not open for further replies.
Top