Page 1 of 1

Regular Expression

Posted: Mon Nov 22, 2010 11:09 pm
by dheeraja
Hi Guys I am going through the regular expression and somewhere I got two rewrite rules with regular expression, but I am not exactly getting that what is mean of it, expressions are:

rewritecond %{HTTP_HOST} !^www.example.com$ [NC]
rewriterule ^(.*)$ http://www.example.com/[b]$1 [R,L] [/b]

Please tell me that what is the bold part telling, please help me..

Thank you