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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    42,802
    Likes Received:
    1,714
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Let us know if you have any additional questions.

    Thank you.
     
Loading...

Share This Page