domain.com/cpanel/ doesn\'t work

dzevad

Well-Known Member
Oct 7, 2001
95
0
306
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
 

zex

Well-Known Member
Aug 12, 2001
98
0
306
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.
 

Mivo

Member
Aug 19, 2001
17
0
301
My CPanel and webmail have suddenly stopped working.

dzevad, were you able to fix yours?
 

Pete

Well-Known Member
Dec 19, 2001
74
0
306
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..
 

dzevad

Well-Known Member
Oct 7, 2001
95
0
306
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 :)
 

randy

Member
Oct 12, 2001
18
0
301
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