My regexp skills are somewhere infinitesimally close to zero. I have never really ‘gotten’ them.
That said, I have spent a couple hours already search for help to write a rewriterule that works on a string in the URL. In particular I want success if either of the following were provided:
webmail.domain (e.g. webmail.foo.com)
server/webmail (e.g. www.foo.com/webmail)
And I have not found anything like this, nor do I know even close enough of regexp to recognize something like this in another expression.
Thanks for the help.