rewrite rules

Stefanita rares Dumitrescu lists at ruby-forum.com
Fri Jan 25 15:17:08 MSK 2008


hi guys,

can anyone please translate for me the below rewrite rules? regex and
rewrite is not my best quality unfortunately :( i know about rtfm ...
but it's just a thing that doesn't stick with me.

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?domain1.net [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?domain2.net [NC]
RewriteRule \.(zip|mp3)$ - [NC,F,L]
-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list