I tried to resize an image with timthumb library.
I can use it directly via the following URL
http://localhost/study/server/resize/thumb.php?src=http://localhost/study/server/product/1/1/orig-1.jpg&w=160&h=130
and it works fine.
But when I rewrite my url like this
http://localhost/study/server/resize/160x130/r/product/1/1/orig-1.jpg
and add
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/(resize) [NC]
RewriteRule ^resize/(.*)x(.*)/r/(.*) resize/thumb.php?src=http://localhost/study/server/$3&h=$2&w=$1&c=1
</IfModule>
unfortunately this rule return 404 error