Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Emerging on June 22, 2004, 04:45:49 AM

Title: Apache Rewrite Rules and SERVER redirection
Post by: Emerging on June 22, 2004, 04:45:49 AM
Hi,

I have been looking to do some minor web magic and cannot find the apache template fragment to help me do it. What I have is a server on a seperate internal IP that is serving secure webpages from our webmail / mail server. I am trying to find a way in E-Smith to ensure users go where they should by rewriting the URL http://webmail.... to https://webmail..... or
http://mail.... to https://.....

Any traffic subsequently redirected will be OK as the firewall pushes all SSL traffic to the mail server.

Pushes / nudges in the right direction are greatly appreciated.

Darrin