cgi scripts

General help with installation, scripts, etc....

cgi scripts

Postby Schwieg » Mon Nov 19, 2007 2:07 pm

I'm having all sorts of problems getting my cgi scripts to work. I've checked my permissions and read hundreds of articles. I'm overlooking something simple in the code i'm sure. If someone could post an example of a very basic script that'll work on this server it would be much appreciated. Thank you.
Posts: 3
Joined: Sun Nov 18, 2007 10:38 am

Postby divya » Wed Nov 21, 2007 2:00 am


A very basic script is added below:
print "Content-type: text/html\n\n";
print "<H1>Hello World</H1>\n";

save it in a file called hello.cgi. And the script should be having permissions 755 and in the ownership of user.

CWH Support.

Return to General Help

Who is online

Users browsing this forum: No registered users and 0 guests