Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Apr 2003
    Posts
    38

    Default HTTP 404 errors

    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. #2
    Member
    Join Date
    Mar 2003
    Posts
    153

    Default

    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. #3
    Member
    Join Date
    Apr 2003
    Posts
    38

    Default

    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:

Similar Threads & Tags
Similar threads

  1. Replies: 9
    Last Post: 09-16-2010, 06:05 PM
  2. new directories 404 with http
    By trec-r in forum New User Questions
    Replies: 2
    Last Post: 11-15-2008, 03:08 AM
  3. HTTP 404 Not Found
    By kashley in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 07-09-2007, 09:48 AM
  4. HTTP Status 404 - /login.jsp
    By sachin1 in forum New User Questions
    Replies: 1
    Last Post: 03-01-2006, 08:00 PM
  5. HTTP 404 - File not found
    By abusedreality in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-05-2003, 02:49 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube