The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Forbidden Access to Cgi-Bin

Discussion in 'General Discussion' started by broadsword, Mar 22, 2005.

  1. broadsword

    broadsword Member

    Joined:
    Mar 22, 2005
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Hi, I have been asking lots of people this question and i cant seem to find the answer!

    I keep getting the error:

    Forbidden
    You don't have permission to access /cgi-bin/ on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


    --------------------------------------------------------------------------------

    Apache/1.3.33 Server at www.***.***********.co.uk Port 80

    Come up when i try to access or look at my cgi-bin.

    I have changed all the cgi-bin permissions to 755 and this still does not make a difference.
    Im afraid i dont know much about hosting, im rather new to it all :P

    Although i went on one website and it said the reason is becasue i dont have a /index.htm file.
    Somewhere else said your host may not have provided a cgi-bin directory (or something, i cant remember!)
    Could it be that I havent been provided with a cgi-bin? This would confuse me because I can get into it via File Manager and The 'CGI Center' scripts work!

    Any help greatly appreciated.
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    not really a good idea to let the general public to roam around your cgi-bin you get a no access error for a good reason. you are suposed to
     
  3. broadsword

    broadsword Member

    Joined:
    Mar 22, 2005
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
  4. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    the cart is writen in java script it has nothing to do with cgi
     
  5. broadsword

    broadsword Member

    Joined:
    Mar 22, 2005
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    "Setup a checkout page. If you have a secure server, and CGI access, the form action on this page should point at it. If you are accepting credit card numbers, a secure server really should be used. If you have CGI access, place the file checkout.pl into your cgi-bin directory, and point the FORM ACTION from this checkout page to it."

    Thats wot it said in the tutorial! :)
     
  6. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    upload in ASCII and chmod to 755

    or use the php version of the script
     
  7. broadsword

    broadsword Member

    Joined:
    Mar 22, 2005
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    As i said im a newbi :p
    Im not exactly sure wot all that means :P the permissions are set to 755 :confused:
     
  8. broadsword

    broadsword Member

    Joined:
    Mar 22, 2005
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    I have sorte4d it all out, thanks for all the help!
    It was because i wasnt using FTP and it was loading up in binary mode!
    ASCII - Fixed!
     
Loading...

Share This Page