apache - htaccess remove existing rewrite conditions -
i've tried changing functionality of few rewrite conditions, there's many across site i'm working on. 1 folder i'm in, need unique funtionality, , need remove existing rewrite conditions , make new ones. i've tried having just
rewriteengine on rewritecond %{script_filename} !-d rewritecond %{script_filename} !-f rewriterule ^.*$ ./item_processor.php in folder's htaccess, other rewrite rules heirarchy seem want still cause redirects our existing error pages when directed @ file "doesn't exist" want managed item_processor.
how can turn off pre-existing rewrite rules , have ones in current htaccess ones apply current folder?
try snippet in sub-folder:
# reset errordocument errordocument 404 default rewriteengine on rewritecond %{script_filename} !-d rewritecond %{script_filename} !-f rewriterule ^ item_processor.php [l]
Comments
Post a Comment