Ahoyi all !

DefecTalisman

Community Advocate
Community Support
Messages
4,148
Reaction score
5
Points
38
I am a noob, not only to this forum and hosting, but to web hosting all together.

I have basic perl knowledge and wanted to take it further with CGI scripts...

My 1st question if anyone is willing to take time outa thier day is, what is the default cgi-bin dir?(can i creat my own, eg: /base/cgi-bin/)

2nd question is how do i get a script to run? I tried on another UNIX server to no avail. Save scripts in /base/cgi-bin/ and set to 755. Made sure the path to perl was correct and there are no errors in the script.

ClIcKy ThInG

3rd question is why is the FTP server saying this:
500 I won't open a connection to **IP** (only to **another IP**)

Any help would be much appreciated.

NB: I signed up for ad-free, so does this mean exactly that? or am i requiered to place ads on all pages. Not a biggie if so, just dont want to get susspended.

Regards,

DT.
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
Your default cgi-bin is located in your public_html folder, you should see it when you login.

You should be able to put your script in it and run them through your browser by going to http://yoursite.com/cgi-bin/yourscript.cgi

I've never seen that FTP error, are you using the right address and using your cPanel user\pass to login?

Ad-free means just that, you don't have to place ANY ads.

-Corey
 

DefecTalisman

Community Advocate
Community Support
Messages
4,148
Reaction score
5
Points
38
You should be able to put your script in it and run them through your browser by going to http://yoursite.com/cgi-bin/yourscript.cgi
uhm...it doesn't work...
http://www.defectalisman.exofire.net/cgi-bin/test.cgi
http://www.defectalisman.exofire.net/cgi-bin/test.pl
could it be the script, they are identical though?

I've never seen that FTP error, are you using the right address and using your cPanel user\pass to login?
It only puts it out sometimes...more often than not actually...
 
Top