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.

Path of cgi bin

Discussion in 'General Discussion' started by salvation67, Jul 18, 2007.

  1. salvation67

    salvation67 Registered

    Joined:
    Jul 14, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    What is the path to the cgi bin. Path of perl is given on the cpanel main page but the path to cgi bin is not given. How can I find that. I learn a very good tutorial from html goodies site. I followed all the directions even then guest book did not work. I am afraid that my path to cgi bin is not correctly entered in the file. How can I find the correct path to cgi bin. Please help. Thanks.
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Generally the path to your cgi-bin in a cPanel environment would be /home/user/public_html/cgi-bin where user is your username.
     
  3. salvation67

    salvation67 Registered

    Joined:
    Jul 14, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    I entered this path but it did not work. It is something else as you suggested. Nevertheless thanks for your concern and care.
     
  4. WebScHoLaR

    WebScHoLaR Well-Known Member

    Joined:
    Dec 14, 2005
    Messages:
    511
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Planet Earth
    Do you get 404 Not Found error when you visit http://www.yourdomain.com/cgi-bin/?

    If yes, then a possible reason is that ScriptAlias line is missing in the Virtualhost section of your domain. If you have root access you can edit httpd.conf and if you don't have root access, contact your host to have it fixed.
     
  5. Frimon86

    Frimon86 BANNED

    Joined:
    Jun 4, 2007
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    0
    I though you could edit your 404 pages as well as your cgi bin stuff inside of your control panel features.
     
  6. permezel

    permezel Registered

    Joined:
    Jul 19, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I have a similar problem. I have a hosted domain with with cpanel access. I can run cgi-bin scripts using
    http://www.example.com/kk/test.lua
    and that works. The problem is that I wish to use SSL. The hosting provider says: no probs, use our SSL cert as in:
    https://www.example.com/~myuser/kk/test.lua

    This fails, although http://www.example.com/~myuser/kk/test.lua works OK.

    Is this something that cPanel based hosted domains should be able to handle?
    I can get this to work correctly with my own (NetBSD/Apache2) machine, using ScriptAliasMatch directive. It seems to me that this should work for cPanel hosted situations as well.
     
Loading...

Share This Page