htaccess regex in modrewrite help
Posted on 2012-08-21
Ok so, i have a folder, which contains php scripts.
I wana make it so if its a script i dont want them to see, i easily throw them to a 404 page.
However, for this one folder, there is one subfolder i still need to give them access to. Now im kinda new to regex but i gave it a go:
The idea is, every .php file they try to access will redirect them to the 404, apart from a folder containing the text ajax.
Does anyone know how i can get this regex to work?