Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    fpr
    fpr is offline
    Member fpr's Avatar
    Join Date
    Oct 2006
    Posts
    22

    Unhappy /cpanel /whm not work

    I instaled in new server cPanel 11, but i try acess: www.server.com/cpanel or www.server.com/whm and no entry only access www.server.com:2082 and www.server.com:2086. how I make to fix this?

  2. #2
    Member
    Join Date
    Aug 2004
    Posts
    12

    Default

    Hi there,

    I'm currently having the same problem on a number of our servers in our fleet.

    I've logged a ticket with cPanel support and hopefully will hear back from them shortly.
    Soon as I have an answer, i'll post it here for you.



    Craig

  3. #3
    Member
    Join Date
    Aug 2004
    Posts
    12

    Default

    Hi,

    cPanel support have said that my redirection stuff from the httpd.conf file was missing.

    No idea why, but there you go.

    Paste this stuff in the bottom of your httpd.conf file (if it doesn't already exists) and then restart httpd. Life should be good about then.

    ErrorDocument 400 /400.shtml
    ErrorDocument 401 /401.shtml
    ErrorDocument 403 /403.shtml
    ErrorDocument 404 /404.shtml
    ErrorDocument 500 /500.shtml
    ScriptAlias /cgi-sys/ /usr/local/cpanel/cgi-sys/ Alias /sys_cpanel/ /usr/local/cpanel/sys_cpanel/ Alias /java-sys/ /usr/local/cpanel/java-sys/ Alias /img-sys/ /usr/local/cpanel/img-sys/ Alias /akopia/ /usr/local/cpanel/3rdparty/interchange/share/akopia/
    Alias /neo-images/ /usr/local/cpanel/base/neomail/neo-images/
    ScriptAliasMatch ^/cpanel/(.*) /usr/local/cpanel/cgi-sys/redirect.cgi
    ScriptAlias /cpanel /usr/local/cpanel/cgi-sys/redirect.cgi
    ScriptAlias /whm /usr/local/cpanel/cgi-sys/whmredirect.cgi
    ScriptAlias /securewhm /usr/local/cpanel/cgi-sys/swhmredirect.cgi
    ScriptAlias /webmail /usr/local/cpanel/cgi-sys/wredirect.cgi
    ScriptAliasMatch ^/webmail/(.*) /usr/local/cpanel/cgi-sys/wredirect.cgi
    ScriptAliasMatch ^/kpanel/(.*) /usr/local/cpanel/cgi-sys/redirect.cgi
    ScriptAlias /controlpanel /usr/local/cpanel/cgi-sys/redirect.cgi
    ScriptAlias /securecontrolpanel /usr/local/cpanel/cgi-sys/sredirect.cgi
    Alias /mailman/archives/ /usr/local/cpanel/3rdparty/mailman/archives/public/
    ScriptAlias /mailman/ /usr/local/cpanel/3rdparty/mailman/cgi-bin/
    Alias /pipermail/ /usr/local/cpanel/3rdparty/mailman/archives/public/
    Alias /interchange/ /usr/local/cpanel/3rdparty/interchange/share/interchange/
    Alias /interchange-5/ /usr/local/cpanel/3rdparty/interchange/share/interchange-5/

    Cheers,
    Craig

  4. #4
    Member vagsoftware's Avatar
    Join Date
    Oct 2006
    Posts
    27

    Default

    Wassup!

    Correct what your friend said. In httpd.conf is the solution for you shortly. Also remember this:

    http://domain.com/cpanel = http://domain.com:2082
    http://domain.com/whm = http://domain.com:2086
    http://domain.com/webmail = http://domain.com:2095
    https://domain.com/webmail = https://domain.com:2096

    /whm and /cpanel are aliases to them.

    Respekt.

  5. #5
    Member
    Join Date
    Nov 2005
    Posts
    5

    Default

    I add these to the end and apache doesn't start correctly. Do I need to add these in a more particular place?

  6. #6
    Member vagsoftware's Avatar
    Join Date
    Oct 2006
    Posts
    27

    Default

    Be careful to put outside a virtual host. cPanel is kind a stupid when it comes to write and rewrite httpd.conf. Also watch apache logs and sytem logs. Find if you allready have any of these lines in httpd.conf. It makes confusion. Keep searching, this is the solution.

    Respekt.

Similar Threads & Tags
Similar threads

  1. Cpanel/Whm work on an VPS?
    By sh33pz in forum New User Questions
    Replies: 2
    Last Post: 08-27-2010, 08:19 AM
  2. WHM/Cpanel never wants to work - ???
    By phleadom in forum New User Questions
    Replies: 3
    Last Post: 09-25-2008, 06:11 AM
  3. Cpanel/WHM seems to work under FreeBSD 6.1
    By mrcpu in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 10-11-2006, 10:56 AM
  4. !!No Passwords Work for cPanel and WHM!!
    By Steven_K in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 05-17-2005, 12:21 PM
  5. How does cpanel/whm work?
    By bobbybobbertson in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-17-2003, 12:49 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube