Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

cgi-bin not working

Discussion in 'General Discussion' started by BahBah, Oct 6, 2009.

  1. BahBah

    BahBah Active Member

    Joined:
    Sep 25, 2003
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    156
    Hello

    If I try to access a perl script in cgi-bin it 404's. The error log suggests that apache is trying to serve the file from:

    /usr/local/apache/cgi-bin

    and not

    /home/user/public_html/cgi-bin

    Any ideas ?

    Thank you
     
  2. BahBah

    BahBah Active Member

    Joined:
    Sep 25, 2003
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    156
    I don't know why, but cpanel/whm wasn't adding a script alias as it should so I've manually added one in the sites conf.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice