• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Redirects/Rewrites

Lanky Doodle

New Pleskian
Hey,

Our company website is hosted for us, but we have other on-premise services like Exchange ActiveSync for corporate email on phones etc.

In trying to get Exchange autodiscover working properly I've setup redirects so domain.com/autodiscover/autodiscover.xml goes to https://autodiscover.domain.com/autodiscover/autodiscover.xml.

Although this does work, annoyingly Gmail prompts a warning about the redirect. As domain.com for us points to www.domain.com, we actually get 2 warnings:

domain.com to www.domain.com
www.domain.com to autodiscover.domain.com

How do I setup the redirect/rewrite so it is masked? This is what I've done:

#301 Redirect 14-11-2017
RewriteRule ^autodiscover/autodiscover.xml$ https://autodiscover.domain.com/autodiscover/autodiscover.xml [R=301,L,NC]

Thanks.
 
Back
Top