cgi-bin doesn't work

Status
Not open for further replies.

annabult

New Member
Messages
9
Reaction score
0
Points
0
cPanel user name : annabult
subdomain/domain : annabultiaux
hosting package : free web hosting


my cgi-bin script doesn't work : 404 error ...
I wrote a simple cgi script.

Questions :

- where do I have to put my script ?
cgi-bin or scgi-bin ?

- what are the extension of the script ?
cgi or pl ?

- my script is as simple as :
print <<END_of_Multiline_Text;
Content-type: text/html

<HTML>
<HEAD>
<TITLE>Hello World</TITLE>
</HEAD>
<BODY>
<H1>Greetings</H1>
</BODY>
</HTML>

END_of_Multiline_Text

Is it enought ?



Best regards
Anna
 
Last edited:

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
205
Points
63
They should go in your cgi-bin and either extension should work.

You were missing a directive from your virtualhost, it should be fixed now. If it isn't please re-open this thread.

-Corey
 
Status
Not open for further replies.
Top