+ Reply to Thread
Results 1 to 3 of 3

Thread: Ahoyi all !

  1. #1
    Join Date
    Aug 2007
    Location
    Gangstas Paradise
    Posts
    4,143

    Ahoyi all !

    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.

  2. #2
    Corey's Avatar
    Corey is offline VPS Migration Professional Corey is a glorious beacon of lightCorey is a glorious beacon of light
    Join Date
    Dec 2004
    Location
    Northfield, NH
    Posts
    17,151

    Re: Ahoyi all !

    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

  3. #3
    Join Date
    Aug 2007
    Location
    Gangstas Paradise
    Posts
    4,143

    Re: Ahoyi all !

    Quote Originally Posted by Corey View Post
    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...

    http://dev.x10hosting.com (this has nothing to do with x10hosting)

    ->All us helpful people here at x10hosting would like to reach our next user groups, "Community Paragon". Please click the +rep icon on the left hand side of a post if that post was helpfull.



+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers