Let's say I have a folder at the root of my site like this:
Note: there are no subfolders in this folder.
Now if a person typed in http://example.com/folder1/subfolder
normally, this would show a 404 error page. How can I handle this with a PHP script located in folder1, without using mod-rewrite.