Answer the question
In order to leave comments, you need to log in
RewriteRule works locally but doesn't work on server
I can't understand why these rules work for me on the local, but do not work on the server.
RewriteRule ^thumb.php$ thumb.php [L]
RewriteCond %{QUERY_STRING} w=[0-9]+ [OR]
RewriteCond %{QUERY_STRING} h=[0-9]+ [OR]
RewriteCond %{QUERY_STRING} ^tc?$
RewriteRule ^(.*)\.(jpg|gif|png) thumb.php?name=%{REQUEST_FILENAME}&%{QUERY_STRING} [NC,L]
Answer the question
In order to leave comments, you need to log in
Is mod_rewrite even present/enabled on the server? Is the "RewriteEngine On" line missing or missing?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question