jbreck

Member
PartnerNOC
Mar 7, 2006
11
0
151
I have the following problem, and I'm hoping someone here might have a fix, because cPanel support has stonewalled me.

On one server a few weeks ago, we had a simple proxy setup so that https://cpanel.ourhosting.com would proxy to our cPanel port. This was for people inside of a firewall, etc, to gain access. It's a popular feature for alot of users. Then suddenly it stopped working. Cpanel ouputted raw text to the browser. The cause of this is that cPanel was outputting the mimetype as "text/plain" instead of "text/html", but only to the proxy. We recompiled apache, tried other proxies, and proxied from a known good server. Nada.

Then disaster struck. We upcp'd the servers to fix a problem with cPanel not pulling zlib during the nightly upcp. Now every server (18+) are outputting this. We have a ton of tickets from very angry users. Cpanel claims it's not supported....


....As an engineer for 10+ years, I know that their is no reason that cPanel should change the mime type based on the client, and due to it's propagation after a upcp, this is an error caused by something in the cpanel server. It does not do this for our WHM or web proxies. Only cPanel. Unfortunately, I cannot find a workaround for this, or a way to rewrite the mimetype of the file when it is output. I need a solution desperately. I have filed tickets, but have been stonewalled as "Not our problem". Because of this error, I believe that any ISP that uses a web proxy may experience this error when accessing a cPanel page, in addition to it affecting our workaround.

Thanks.
 

Spiral

BANNED
Jun 24, 2005
2,020
8
193
We have Apache 2.0.59 on all of our servers ...

For that mod_ext_filter could be used and the output type changed
 

jbreck

Member
PartnerNOC
Mar 7, 2006
11
0
151
Thanks for the tip, however we are running apache 1.3.x on all of our servers at this time.
 

HelloAdam

Well-Known Member
Nov 6, 2005
145
0
166
Hey,

Do you have any security scripts installed on your server that might do this? Also I'm guessing /cpanel works fine. However could this be a problem with the proxy you guys are using?

Also, you do know that cPanel/WHM have a built in SSL port for clients to login. Most firewalls by default pass anything on an SSL port.

NON-SSL Login
---------------
http://domain.com:2082
(cPanel)

http://domain.com::2086
(WHM)

SSL Login
------------

https://domain.com:2083
(cPanel)

https://domain.com::2087
(WHM)

From,
Adam