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.

HTTP 404 errors

Discussion in 'General Discussion' started by lyew, Apr 24, 2003.

  1. lyew

    lyew Active Member

    Joined:
    Apr 24, 2003
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Another question. I use one IP to access WHM on port 2086. Does this IP automatically access the contents of

    /var/www/html ?

    The funny thing was, when I typed in

    http://mydefaultwhmIP

    I get the apache welcome page. I know there are other subdiretories like /mrtg but whenever I hit this in my browser:

    http://mydefaultwhmIP/mrtg

    It returns a 404 error. In fact accessing practically every subdirectory in /var/www/html throws a 404 (except of manual). Does anyone know what's going on here. Is this a permissions thing or is WHM configured in a way that disallows browsing on the default IP?
     
  2. strauberry

    strauberry Well-Known Member

    Joined:
    Mar 25, 2003
    Messages:
    150
    Likes Received:
    0
    Trophy Points:
    16
    Hi,
    you can do this with Aliases in the httpd.conf file.
    At the top of the file you can find some other Aliases, just copy one line and adjust it to mrtg...

    cPanel.net Support Ticket Number:
     
  3. lyew

    lyew Active Member

    Joined:
    Apr 24, 2003
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Hi,

    Thanks for your reply.

    I discovered that by default, the html docs for the main website hosted on cpanel is at
    /usr/local/apache/htdocs

    and not /var/www/html

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page