Jump to content

Regular Expression


dheeraja

Recommended Posts

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/$1 [R,L]

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

 

Thank you

Link to comment
https://forums.phpfreaks.com/topic/219537-regular-expression/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.