kicker

Registered
Aug 23, 2002
2
0
151
Hello,

Is there anyone can help me with this probem?

If I type http://www.mydomain.com/cpanel Iget HTTP 404 error page not found.

If I type http://www.mydomain.com:2086 Its okay.

All the CGi scripts gets HTTP 404 page not found.

The only thing I did before this happes, Was editing the httpd.conf
file.

Any suggestions?
 

bert

Well-Known Member
Aug 21, 2001
593
0
316
Make sure httpd.conf has the following lines:

ScriptAliasMatch /cpanel/(.*) /usr/local/cpanel/base/redirect.cgi
ScriptAlias /cpanel /usr/local/cpanel/base/redirect.cgi
 

kerosin

Well-Known Member
Aug 27, 2002
83
0
156
Off-topic:


Have somebody wondered why http://domain.com/cpanel points on http://domain.com:2082 and not on secure https://domain.com:2083, I know that it's made by http://domain.com/securecontrolpanel ,but better would be this:

http://domain.com/cpanel --& https://domain.com:2083
http://domain.com/unsecurecontrolpanel --& http://domain.com:2082


same for WHM.

Any other solution how to teach clients use SSL ??
 

itf

Well-Known Member
May 9, 2002
620
0
316
[quote:5420a080a7][i:5420a080a7]Originally posted by kerosin[/i:5420a080a7]

Off-topic:


Have somebody wondered why http://domain.com/cpanel points on http://domain.com:2082 and not on secure https://domain.com:2083, I know that it's made by http://domain.com/securecontrolpanel ,but better would be this:

http://domain.com/cpanel --& https://domain.com:2083
http://domain.com/unsecurecontrolpanel --& http://domain.com:2082


same for WHM.

Any other solution how to teach clients use SSL ??[/quote:5420a080a7]

domain.com/securecontrolpanel redirects to https://domain.com:2083

if you would like domain.com/cpanel does the same

in /etc/httpd/conf/httpd.conf find this line

ScriptAlias /cpanel /usr/local/cpanel/base/[b:5420a080a7]redirect.cgi[/b:5420a080a7]

and change it to

ScriptAlias /cpanel /usr/local/cpanel/base/[b:5420a080a7]sredirect.cgi[/b:5420a080a7]


for unsecurecontrolpanel just add this line to your httpd.conf
ScriptAlias /unsecurecontrolpanel /usr/local/cpanel/base/[b:5420a080a7]redirect.cgi[/b:5420a080a7]


then restart apache
 

kerosin

Well-Known Member
Aug 27, 2002
83
0
156
Of course, I can change it, but I'm talking about default CPANEL installation.

Nevermind that next cpanel upgrade will overwrite these lines in httpd.conf (or not ?)


It would be nice feature to have this option in WHM -& force secure links for clients ?



I now I'm idealist ;)
 

itf

Well-Known Member
May 9, 2002
620
0
316
[quote:a16888deef][i:a16888deef]Originally posted by kerosin[/i:a16888deef]

Of course, I can change it, but I'm talking about default CPANEL installation.

Nevermind that next cpanel upgrade will overwrite these lines in httpd.conf (or not ?)


It would be nice feature to have this option in WHM -& force secure links for clients ?



I now I'm idealist ;)[/quote:a16888deef]

Ok it's easy add /sCpanel which won't be overwritten.
Also is meaningful, Scpanel stands for Secure Cpanel

A bit customization is not bad.