cgi-bin subfolders bot work

Discussion in 'Site & Server Administration' started by okpa, Jun 15, 2012.

  1. #1
    problem of sub-file and files in cgi-bin do not work properly despite the right Permits

    always show me
    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.
    
    Code (markup):
     
    okpa, Jun 15, 2012 IP
  2. SolidShellSecurity

    SolidShellSecurity Banned

    Messages:
    262
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    45
    #2
    You need your host to fix the permission issue.
     
    SolidShellSecurity, Jun 15, 2012 IP
  3. ironcladservers

    ironcladservers Well-Known Member

    Messages:
    389
    Likes Received:
    20
    Best Answers:
    4
    Trophy Points:
    115
    #3
    Does the folder itself have the correct permissions? Not just the file. And if would need the correct ownership (chown) values as well.
     
    ironcladservers, Jun 15, 2012 IP
  4. okpa

    okpa Well-Known Member

    Messages:
    704
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    123
    #4
    yes values 755
     
    okpa, Jun 15, 2012 IP
  5. okpa

    okpa Well-Known Member

    Messages:
    704
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    123
    #5
    okpa, Jun 15, 2012 IP
  6. SolidShellSecurity

    SolidShellSecurity Banned

    Messages:
    262
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    45
    #6
    It looks like your host might have cgi-bin disabled for you.
     
    SolidShellSecurity, Jun 21, 2012 IP
  7. cPAce

    cPAce Peon

    Messages:
    445
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I had a customer of mine with the same issue. Its a semi-simple fix. There are a lot of factors to weigh in though.

    PM and I can see what I can do.
     
    cPAce, Jun 21, 2012 IP
  8. gombile13

    gombile13 Active Member

    Messages:
    136
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    63
    #8
    file that will you run under cgi-bin should have executable permission
    try to change your file permission under cgi-bin to 0755
     
    gombile13, Jun 30, 2012 IP