APACHE – mod_rewrite creates 301 instead of transparent redirection if folder exists – efreedom

APACHE – mod_rewrite creates 301 instead of transparent redirection if folder exists Hello, i’m having a small problem here. I’m using a simple rule to redirect all requests to a script, excepts some folders with static content : RewriteEngine On RewriteCond $1 !^(templates|css|js|uploads)/(.*)$ RewriteRule ^(.*)$ index.php?url=$1 [L,QSA] Most of the time, the redirection is good …

APACHE – mod_rewrite creates 301 instead of transparent redirection if folder exists – efreedom Lire la suite »