Squid3, alternative OWA URL
-
Hi
I'm having PfSense 2.0.2 with squid3 package (3.1.20 pkg 2.0.6 )
Could anyone tell me or point me into according manual on how can i set an alternative URL for Outlook Web Access.
Let's say now i'm having it on "https://pfsense.domain.com/owa" and want it to be accessible by "https://webmail.domain.com"… if it is possible.
In addition also someone could share with information how could I make http -> https redirection for it.
10x 4ward! -
You can solve both questions with the redirects tab in squid-reverse.
I wrote a simple example how it works here:
http://forum.pfsense.org/index.php/topic,58964.msg316607.html#msg316607webmail.domain.com then will go to pfsense.domain.com/owa
For the http to https redir just see the link.. -
Thanks for your answer. Now it makes some sense)
It will really be cool if you make that wiki page or smth. Have been googling pretty much on this functionality before asking here, but with no luck. I guess there are some other possible regex options for different situations =) -
If I have the time I will make that wiki page thing, only the time is the problem.
With the path regex you can match a more exact URL like www.domain.com/mail (with '^/mail/$' or something in the regex) then it will only work for requests to /mail and not for request to www.domain.com
Let me know if you need some assistence.