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.

Webmail and CpanelProxy resolution?

Discussion in 'E-mail Discussions' started by Gabbadude, Jun 16, 2007.

  1. Gabbadude

    Gabbadude Member

    Joined:
    Sep 13, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I know this has been discussed in other threads before and I know that the cpanelproxy scripts are a third party addon, but I am dire need of help here as I believe are many others who use this addon.

    I am finding it very hard to believe that everyone who is using the cpanelproxy scripts have settled for the fact that it no longer works with the webmail subdomains. For me at least, the cpanel and whm are working fine without problems so far. But as we know, the webmail is still redirecting to the port based urls.

    Now before someone asks me whether I have sent an email to the original developer of the script, well yes,...I have, and have had no response. I have also searched these forums and found nothing of value unless I haven't search properly.

    HAS NOBODY fixed this yet? I just cannot believe that everyone who are resellers has told all their clients:
    PLEASE can someone direct me to a fix or something.

    I'm desperate.

    -=G~D=-
     
    #1 Gabbadude, Jun 16, 2007
    Last edited: Jun 16, 2007
  2. Gabbadude

    Gabbadude Member

    Joined:
    Sep 13, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Wow,....

    I seem to be the only one who uses the cPanel Proxy scripts on planet Earth. :(
     
  3. graham_w

    graham_w Well-Known Member

    Joined:
    May 25, 2004
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    Comment out the following lines in your httpd.conf.

    ScriptAlias /webmail /usr/local/cpanel/cgi-sys/wredirect.cgi
    ScriptAliasMatch ^/webmail/(.*) /usr/local/cpanel/cgi-sys/wredirect.cgi

    If you can't edit httpd.conf or your host won't do it, then you have to use a different subdomain.
     
  4. Gabbadude

    Gabbadude Member

    Joined:
    Sep 13, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Hi there,

    are you 100% sure that this works though? Will this not break something else?

    Sorry if it's a stupid question, I'm just not that familiar with the whole Apache thing.

    Thanks for replying.

    Gabbadude
     
  5. graham_w

    graham_w Well-Known Member

    Joined:
    May 25, 2004
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    You are right, it kills all sites being able to access webmail through domain.com/webmail.

    There has to be another way ..
     
  6. Gabbadude

    Gabbadude Member

    Joined:
    Sep 13, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Thanks Graham,

    You know, I have no clue why cPanel can't just allow the access for the webmail via some other methods. How are their clients supposed to access their cPanels and webmail if they are behind a firewall.

    I am astounded that cPanel has not addressed this issue. Whether it be for security reasons, I just feel that it is not an argument due to the fact that almost 100% of corporations today use firewalls and the clients are not able to convince the powers that be to open the necessary ports. Hence the cpanelproxy was born.

    It makes my business look so bad now that when we were on cPanel v10 it was working and now it doesn't.

    How can they ignore this?!!?

    GabbaDude
     
  7. katmai

    katmai Well-Known Member

    Joined:
    Mar 13, 2006
    Messages:
    526
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Brno, Czech Republic
    what is the url for the cpanelproxy page though ? it's still a 3'rd party app, and i guess you paid for it right? and if so, the developers should provide fixes, though i wish cpanel would do that kind of thing actually.
     
  8. graham_w

    graham_w Well-Known Member

    Joined:
    May 25, 2004
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    Gabbadude

    Looks like a resolution here :
    http://forums.cpanel.net/showthread.php?t=66107&page=2&highlight=cpanelproxy

    Just add the line
    $data = preg_replace('_([^.]*)/webmail_', '$1/webmail_', $data);

    Above this part
    $data = str_replace(
    array('localhost:2095', 'localhost:2082', 'localhost:2086'),
    array($webmailhost, $cpanelhost, $whmhost),

    In the cpanelproxy.php page and save!

    ps what does gabbadude mean ? Are you from around the Gabba in Brisbane ? :)
     
  9. Bud Spencer

    Bud Spencer Member

    Joined:
    Jun 6, 2006
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Frankfurt, Germany
    Sorry, but it does not work!

    I still get the redirect to the ports..
     
  10. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    It's one of many (abandoned) projects on Sourceforge.
     
  11. Bud Spencer

    Bud Spencer Member

    Joined:
    Jun 6, 2006
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Frankfurt, Germany
    I know...

    But then "cpanelkenneth" why Cpanel can not fix this things and do not use ports any more?

    Which reason have the use of the ports?

    I think that Cpanel know the fact, that the most of the people sitting behind of a firewall and can not access Cpanel, WHM or Webmail!

    Plesk does not use this and with Plesk this would work...

    I hope that Cpanel fix this soon...
     
  12. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    My response was to katmai.
     
  13. graham_w

    graham_w Well-Known Member

    Joined:
    May 25, 2004
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    The fix I linked to above works fine - I would double check you are doing everything correctly.
     
  14. dbteq

    dbteq Member

    Joined:
    Aug 24, 2005
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Well done Graham! You've fixed it indeed.. it works like a charm! :) Many thanks mate!
     
  15. abubin

    abubin Well-Known Member

    Joined:
    Dec 7, 2004
    Messages:
    393
    Likes Received:
    1
    Trophy Points:
    18
    that still doesn't solve the question of "why doesn't cpanel just do a webmail that works on port 80?". I have been asking this question for years but cpanel just never reply.
     
  16. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    817
    Likes Received:
    22
    Trophy Points:
    18
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    Because Apache uses port 80, and it's good to have separate services running on their own ports.
     
  17. wbrightfl

    wbrightfl Registered

    Joined:
    Oct 17, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Because cpanel does not listen to their customer's needs on this subject. Hundreds upon hundreds of complaints about this and not resolution other than, use a third panel proxy.
     
  18. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    817
    Likes Received:
    22
    Trophy Points:
    18
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    Does it actually work though? The problem is that cPanel DISABLED access on port 80, which means that cPanel just cannot be accessed this way....at all.
     
  19. smksa

    smksa Member

    Joined:
    Aug 1, 2006
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Cpanel Proxy autoinstaller will helps

    Using cpanel proxy script that have the autoinstaller as mentioned at http://www.cpanel-proxy.net will helps user to access cpanel and webmail on regular port 80 .

    That should resolved your issue which not able to access cpanel on port 2082 or 2083 , probably due to your firewall blocking the port.
     
  20. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    It does a server side proxy redirect (I think), so the user sees http:///example.org/cpanel rather than http://example.org:2082
     
    #20 cPanelKenneth, Feb 4, 2008
    Last edited: Feb 4, 2008
Loading...

Share This Page