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!

Add a cgi script on the server's virtual host?

Discussion in 'General Discussion' started by nms666, Dec 5, 2017.

  1. nms666

    nms666 Registered

    Joined:
    May 24, 2013
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    I want to add a cgi script on the server's virtual host (not on account/domain) but there is no scriptalias for /var/www/cgi-bin. Is there a setting somewhere or I have to edit httpd.conf manually ?

    thanks
     
  2. nms666

    nms666 Registered

    Joined:
    May 24, 2013
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Found it

    Put the cgi script at /usr/local/cpanel/cgi-sys/
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,323
    Likes Received:
    1,851
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Let us know if you have any additional questions.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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