|
|
NC,OR in htaccess - Apache
|
Views : 819
|
|
Tagged in : Apache
|
|
|
Report This Scrap as Inappropriate We request you to choose the appropriate categroy and subcategory that suits your
objectionable concern about the scrap, So that our team can review and find out whether it violates our Guidelines or the
scrap is not suitable for all viewers.
|
The [NC] code means "No Case", meaning match the url regardless of being in upper or lower case letters.
OR means "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] |
|
By Rekha, On - 2010-02-17 |
|
|
|