I am somewhat confused by this question. There are only a handful of things that are likely to occur when accessing a directory without a filename specified as an end result.
- There is an existing permalink structure that will handle this.
- You are served with a listing of the files in the directory (less options -indexes).
- You will be served with the default page found through hierarchical traversing the
DirectoryIndex
directive. - You will be served a 403 error due to the a DirectoryIndex not found, options -indexes being present and there is no permalink structure to handle this request.
In your case, the scenario that you've described is only possible if there is a permalink structure that is specifically for non-mobile platforms.
Otherwise, inside of public_html/mobileapp/registration/
make an .htaccess
file and then give it a directory index.
DirectoryIndex config.php index.php index.html
By default, this will serve config.php
if it exists. if not, then it will serve index.php
so on and so forth.