Skip to main content

webmail proxy seems not to work on only one domain : redirects to https://www.DOMAINE.TLD/___proxy_subdomain_webmail/ +bad layout

Comments

6 comments

  • Markif
    PS : looking at
    0
  • cPRex Jurassic Moderator
    Hey there! It sounds like you've already checked all the common issues that could cause this. Could you submit a ticket to our team so we can check this out directly on your server? Once you've done that, just post the ticket number here so I can follow along.
    0
  • Markif
    @cPRex Ticket number #94370691
    0
  • cPRex Jurassic Moderator
    Thanks for that - I'm following along with the ticket on my end now.
    0
  • cPRex Jurassic Moderator
    I see Austin was able to get you some good details about one of the Apache includes causing a conflict with the webmail redirect.
    0
  • Markif
    @cPRex Hello, Yes indeed, support did find the problem in the custom configuration. There was inside an include file /etc/apache2/conf.d/userdata/std/2_4///.conf a rewrite rule for adding "www" to the domain name, [CODE=apacheconf] RedirectMatch 301 (.*) https://www.DOMAIN.TLD$1
    Due to the order of processing of Apache directives, the custom configuration was imposing on cPanel's default service subdomain configuration that resides in the same virtualhost block. This has been changed in [CODE=apacheconf] RedirectMatch 301 (.*) https://www.DOMAIN.TLD$1
    to avoid interference with the CPANEL proxy rules. In fact it was even an old rule for an alias domain that is not even present anymore, but was still present in the custom includes :-(. So the lesson is that a regular review of these custom Apache includes is useful to not let there old configuration includes ! Big thanks for the help to solve this ! Yves
    0

Please sign in to leave a comment.