Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    Member
    Join Date
    Jul 2005
    Posts
    24

    Wink /cpanel not working and /webmail not working

    I don't really use /webmail, but I thought I'd include it for the search indexes. However I do use /cpanel alot and having the redirect not work for me is ok, but it's a lot easier to teach people to type in domain.com/cpanel rather than domain.com:2083.

    The direct 2082 and 2083 (and whatever the corresponding ports are for the webmail) all work as they should, just these redirects don't.

    I did look through the forums already, but it seems like the person who had the problem ended up talking to support about it (I don't think I can file a support request since I get cPanel through my webhost).

    If this is a really simple fix just let me know where to go to fix it (or if there's a built-in cPanel script for it). I really don't have any problems fixing things, I just don't know where I need to go to do so.

    Thank you,

    -Omar

  2. #2
    Member
    Join Date
    Jun 2006
    Posts
    212

    Default

    Omar:

    First think to check would be whether this entries exist on your httpd.conf, if they are not simply add them at the bottom of it, save the changes and restart apache:

    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
    Alex Villegas

  3. #3
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,720
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    FWIW, I know an issue similar to this one was resolved in cPanel 11.2.1 build 11631.

  4. #4
    Member
    Join Date
    Jul 2005
    Posts
    24

    Wink /cpanel and /webmail now working

    Thanks guys! Alex's fix worked perfectly.

    Currently I'm running build 11817...I don't know if the newer builds would have corrected the issue or not, but it was an easy enough fix.

    Thanks again!

    -Omar

  5. #5
    Member
    Join Date
    Jun 2006
    Posts
    212

    Default

    Omar:

    Not a problem. Always glad to be of assistance.
    Alex Villegas

  6. #6
    Member
    Join Date
    May 2007
    Posts
    5

    Default /cpanel not working and /webmail not working

    hi;
    my server /cpanel not working and /webmail not working

    my httpd.conf ;

    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/


    can you help me please ?

  7. #7
    Member
    Join Date
    Jun 2006
    Posts
    212

    Default

    sessiz2008 :

    Please feel free to open a support ticket and we will take a look at it for you and troubleshoot it accordingly.
    Alex Villegas

  8. #8
    Member
    Join Date
    Feb 2005
    Posts
    147

    Default

    I am having this same problem after upgrading to latest "Current" build.

    I have a vps from a datacenter and as such am not eligable to open a support request. The above mentioned fixes did not solve the problem.

    Apache is running however the directory aliases are not working.

    Any additional thoughts from anyone?

    Just wondering if there is a quick fix before I start working on this in great depth.

    Thanks in advance.
    - Paul Shepperd
    4 years cpanel exp. 6 years linux exp. 8 years security exp.
    6 years corporate startup/small business exp.
    If I responded, and you want to IM me you can do so, not saying I will for sure have time to help, but my aim is public, thats what its there for. My email is: ME @ pshepperd.com
    " Life is short, make money, and have a good time, live every day to its fullest."

  9. #9
    Member
    Join Date
    May 2004
    Posts
    44

    Default

    Are you requiring SSL (option in tweak settings)?

    If so, I had a similar problem where just the ssl wasn't working. Easily fixed by regenerating the main server certificate - something must have gotten out of whack during the upgrade to v11.

    Hope this helps,
    Michael

  10. #10
    Member
    Join Date
    Mar 2003
    Posts
    427

    Default

    Same problem here!

    Build C11862

    redirect does not work ( /cpanel, /whm, /webamail)

    Page not found

Similar Threads & Tags
Similar threads

  1. Email Not Working / Webmail Half Working
    By Arhineus in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 12-18-2007, 12:28 PM
  2. HELP!!! Cpanel/WHM/WEBMAIL and SMTP not working...
    By celliott in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 10-01-2006, 06:00 AM
  3. redirect to /webmail and /cpanel not working
    By 3kirt in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 08-10-2005, 03:29 PM
  4. WHM/CPANEL/WEBMAIL Not Working
    By liderweb in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-20-2005, 07:11 AM
  5. HELP - webmail not working after cpanel update
    By cienna in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-01-2004, 09:40 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube