No Case and Or Next in htaccess

by satheeshkumar 2012-08-13 09:24:36

No Case and Or Next in htaccess,

The "No Case", meaning match the url regardless of being in upper or lower case letters.

"Or Next", as in, match this domain or the next line that follows.

Example:
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://(.+.)?xxx.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+.)?yyy.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+.)?aaa.com/ [NC]
1032
like
0
dislike
0
mail
flag

You must LOGIN to add comments