Some of the rules .htaccess does not work

#1
Rules for on-the-fly image resizing for Simpla CMS do not work. Here is my code:

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^/files/products/(.+) resize/resize.php?file=$1&token=%{QUERY_STRING}
#RewriteCond %{THE_REQUEST} ^GET\ (.*)files/products/(.*)\?([A-z0-9]*)
#RewriteRule ^/files/products/(.+) resize/resize.php?file=%2&token=%3 [L,NE]


openlightspeed + cyberpanel, All others work fine. Can you help me?
 

Pong

Administrator
#2
You can enable the rewrite log to see where could be wrong. alternatively, test your rule on apache first to make sure it works.
 
Top