1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

/usr/local/apache/htdocs not working

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

  1. jcasanova

    jcasanova New Member

    Joined:
    Oct 27, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Santiago, Chile
    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 Active Member
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,621
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    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.
     

Share This Page