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.

domain.com/cpanel/ doesn\'t work

Discussion in 'General Discussion' started by dzevad, Dec 6, 2001.

  1. dzevad

    dzevad Well-Known Member

    Joined:
    Oct 7, 2001
    Messages:
    95
    Likes Received:
    0
    Trophy Points:
    6
    Hi,

    Since last few days my clients have problem loging on to Cpanel and webmail by using domain.com/cpanel/ or domain.com/webmail/. They can access it when using port number.
    Strange is that this works for my main account, but not on client accounts.
    This is what I get in error log:
    [Thu Dec 6 23:10:55 2001] [error] [client 195.222.42.245] Premature end of script headers: /usr/local/cpanel/base/wredirect.cgi

    Is this related to recent updates or this could be something else?

    Any help is welcome :)

    Thanks,
    Dzevad Durakovic
     
  2. zex

    zex Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    98
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Cpanel wredirect script does not work for you :)
    posible reaseons are: chmod is wrong, if you use default suexec that script wont work becouse is difrent owner of directory and script + script is invoked with uid of domain owner.
     
  3. Mivo

    Mivo Member

    Joined:
    Aug 19, 2001
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    My CPanel and webmail have suddenly stopped working.

    dzevad, were you able to fix yours?
     
  4. Pete

    Pete Well-Known Member

    Joined:
    Dec 19, 2001
    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    6
    My users too are STILL not able to access functions using domain.com/webmail. When trying domain.com/cpanel only the stats frame shows - without displaying the control functions frame..
     
  5. dzevad

    dzevad Well-Known Member

    Joined:
    Oct 7, 2001
    Messages:
    95
    Likes Received:
    0
    Trophy Points:
    6
    My problem was releted to suexec, I don\'t use it anymore so I don\'t have problems with it. I have other problem to solve (mod_perl) before messing with suexec again :)
     
  6. randy

    randy Member

    Joined:
    Oct 12, 2001
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    maybe check to see if you have this in your httpd.conf file:

    ScriptAliasMatch /cpanel/(.*) /usr/local/cpanel/base/redirect.cgi
    ScriptAlias /cpanel /usr/local/cpanel/base/redirect.cgi
    ScriptAliasMatch /webmail/(.*) /usr/local/cpanel/base/wredirect.cgi
    ScriptAliasMatch /kpanel/(.*) /usr/local/cpanel/base/redirect.cgi
    ScriptAlias /controlpanel /usr/local/cpanel/base/redirect.cgi
     
Loading...

Share This Page