Trying to design a set of rules to follow, unless the file requested already exists.
Basically I want tutorials/somefile_that_doesnt_exist to be processed by my rules, but /tutorials/file_that_does_exists.php will just bypass my rules
Heres what I've got so far, what it does it it just goes to debug.php and $debug = /tutorials/debug.php
Does this no matter what file I request, even If I just request /
For some reason it's displaying the URI that it rewrote to instead of the original URI
Also what is the syntax to say !sub_request or whatever?
I seem to have no problems with mod_rewrite untill I decide to rewrite path_that_already_exists/anything
What is the rule when rewriting from a folder that already exists?