samedi 19 avril 2014

.htaccess - How to make an exception without redirection


Vote count:

0




So, I've a big problem with .htaccess. All addresses are redirected to app/webroot. I'd like to make an exception without redirection for my file: cron-5min.php.


My part .htaccess:



RewriteRule ^cron-5min.php$ cron-5min.php
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/$1 [L]


Unfortunately, when I type http://ift.tt/1lkDBXh it redirects me to file for path /app/webroot/cron-5min.php


I tried to add instruction RewriteRule ^cron-5min.php$ cron-5min.php in a variety of places in .htaccess, but nothing helped.


Thanks in advance!



asked 26 secs ago






Aucun commentaire:

Enregistrer un commentaire