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!

/usr/local/apache/htdocs not working

Discussion in 'EasyApache' started by jcasanova, Oct 27, 2011.

  1. jcasanova

    jcasanova Registered

    Joined:
    Oct 27, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    Santiago, Chile
    cPanel Access Level:
    Root Administrator
    I created an dir under
    /usr/local/apache/htdocs
    called wiki and create an index.php

    then go http://IP/wiki/index.php and I get this error

    [h=1]500 Internal Server Error[/h]The request was not completed. The server met an unexpected condition.
    IP/wiki/index.php (port 80)​
    Please forward this error screen to IP's WebMaster.
    [HR][/HR]Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at IP Port 80

     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    If you want to have /usr/local/apache/htdocs go to a specific location for the main shared IP, you should create a domain account in WHM > Create an Account, then modify /usr/local/apache/htdocs/index.html to redirect to that url. You could then have any files or folders you want on that account.
     
    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