Where to find cgi-bin directory?

Discussion in 'cPanel reseller hosting' started by Xiety, May 26, 2008.

  1. Xiety

    Xiety New Member

    I am really confused :confused: I am trying to install Movable Type on an account and can't find the cgi-bin directory...

    Here're the instructions that came with MT, anyone know where cgi-bin is? When they say Web root, they mean: public_html or www ?

    Thanks.
     
  2. khiltd

    khiltd New Member

    cgi-bin is traditionally placed just outside the web root for security purposes, so one level up from public_html (provided CGI use is not disabled for that account in cPanel).
     
  3. Xiety

    Xiety New Member

    So if there's no cgi-bin outside the web root, does that mean I can just create a folder named "cgi-bin" and move on? Thanks.
     
  4. khiltd

    khiltd New Member

    No, Apache will have to be configured with an appropriate ScriptAlias directive pointing it there. If you have no cgi-bin directory then CGI support is probably not enabled for that account.
     
  5. Xiety

    Xiety New Member

    Well I checked WHM and CGI is enabled for the account but still cannot see cgi-bin there...

    I guess I will submit a support ticket.
     
  6. Xiety

    Xiety New Member

    Well guess what? Even though it appeared that cgi was enabled for that account, I terminated it and re-created. Now I can see cgi-bin under public_html but not ouside of it?
     
  7. drwhit73

    drwhit73 Member

    If they say web root they would most likely be referring to your public_html folder. The www folder is usually just a shortcut that points to your public_html folder.
     

Share This Page