Single RewriteRule convert please
wickedsunny
nginx-forum at nginx.us
Fri Dec 3 13:52:51 MSK 2010
0 down vote favorite
hello everyone, i just installed nginx up and running for serving static
content on my site. it works great but the apache rewrite rule about
images (ofcourse) stoped working.
and i don't have an idea how to convert .
This is what i was using on apache :
RewriteCond %{HTTP_REFERER} !^http://(www\.)?imgzzz.com/.*$ [NC]
RewriteRule i/image_(\d+)\.(jpg|jpeg|gif) pic/$1 [L]
Its purpose is to redirect directly accessed images to the image page
instead. Helps is appreciated
Thanks in advance :)
cheers
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,155260,155260#msg-155260
More information about the nginx
mailing list