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.

Proxy issues!

Discussion in 'General Discussion' started by jbreck, Nov 22, 2006.

  1. jbreck

    jbreck Member
    PartnerNOC

    Joined:
    Mar 7, 2006
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
  2. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    We have Apache 2.0.59 on all of our servers ...

    For that mod_ext_filter could be used and the output type changed
     
  3. jbreck

    jbreck Member
    PartnerNOC

    Joined:
    Mar 7, 2006
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Thanks for the tip, however we are running apache 1.3.x on all of our servers at this time.
     
  4. HelloAdam

    HelloAdam Well-Known Member

    Joined:
    Nov 6, 2005
    Messages:
    145
    Likes Received:
    0
    Trophy Points:
    16
    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
     
Loading...

Share This Page