If user request existing php code, which I placed right in the root:
- domain.com/images/pic1.jpg
- domain.com/anyphp.php
- domain.com/someapp/somecode.php
- domain.com/anything.someExt
- etc
don't do anything,leave as it, they are working good.
But if he simply enter domain.com -> send him to domain.com/myNewApp/index.php, which is my cool new app. Don't rewrite the URL to domain.com/index.php because it is for my existing app.
I expect the answer may be super simple but I am just giving up trying
DirectoryIndex oxwall/index.php
Simple but it works