help with RewriteRule regexp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux