Hi, i'm on it to change from Apache to Nginx, but there are a lot of issues i got with the nginx System.
In that case i need to rewrite filenames inside a url for timthumb.
My old .htacess was been
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) img.php?src=http://helmok.gnitter.de/crawler/raw_images/$1&h=100w=115&zc=1 [L]
So i tried this in several ways in nginx, always with the same result that it aint working (file not found)
location /cache/thumb {
if (!-e $request_filename){
rewrite ^(.*)$ /img.php?src=http://helmok.gnitter.de/crawler/raw_images/$request_filename&h=100w=115&zc=1 break;
}
}
I hope someone got an idea why this aint working..