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.

Cpanel return 404 when I try to use the urls domain.ext/cpanel and domain.ext/webmail

Discussion in 'CloudLinux' started by merianos, Oct 9, 2013.

  1. merianos

    merianos Member

    Joined:
    Jan 31, 2009
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    I am running a web server using "CloudLinux Server release 6.4" with installed the CPanel 11.38.2.7.

    The problem is that suddenly, the server stoped serving the CPanel pages, such as the webmail and the cpanel. When some of my clients trying to access some of these pages, gets as a result a 404 page.

    In my httpd.conf file the following lines are in place, so I cannot determine the reason why I cannot access the cpanel/webmail urls.

    Code:
    ScriptAliasMatch ^/?controlpanel/?$ /usr/local/cpanel/cgi-sys/redirect.cgi
    ScriptAliasMatch ^/?cpanel/?$ /usr/local/cpanel/cgi-sys/redirect.cgi
    ScriptAliasMatch ^/?kpanel/?$ /usr/local/cpanel/cgi-sys/redirect.cgi
    ScriptAliasMatch ^/?securecontrolpanel/?$ /usr/local/cpanel/cgi-sys/sredirect.cgi
    ScriptAliasMatch ^/?securecpanel/?$ /usr/local/cpanel/cgi-sys/sredirect.cgi
    ScriptAliasMatch ^/?securewhm/?$ /usr/local/cpanel/cgi-sys/swhmredirect.cgi
    ScriptAliasMatch ^/?webmail/?$ /usr/local/cpanel/cgi-sys/wredirect.cgi
    ScriptAliasMatch ^/?whm/?$ /usr/local/cpanel/cgi-sys/whmredirect.cgi
    
    RewriteEngine on
    AddType text/html .shtml
    
    Alias /akopia /usr/local/cpanel/3rdparty/interchange/share/akopia/
    Alias /bandwidth /usr/local/bandmin/htdocs/
    Alias /img-sys /usr/local/cpanel/img-sys/
    Alias /interchange /usr/local/cpanel/3rdparty/interchange/share/interchange/
    Alias /interchange-5 /usr/local/cpanel/3rdparty/interchange/share/interchange-5/
    Alias /java-sys /usr/local/cpanel/java-sys/
    Alias /sys_cpanel /usr/local/cpanel/sys_cpanel/
    Alias /mailman/archives /usr/local/cpanel/3rdparty/mailman/archives/public/
    Alias /pipermail /usr/local/cpanel/3rdparty/mailman/archives/public/
    
    ScriptAlias /cgi-sys /usr/local/cpanel/cgi-sys/
    ScriptAlias /mailman /usr/local/cpanel/3rdparty/mailman/cgi-bin/
    
    Can somebody to help me with this issue ?

    Kind regards
    Merianos Nikos
     
  2. merianos

    merianos Member

    Joined:
    Jan 31, 2009
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,813
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page