0
i have the following folder structure:
I would like any external direct access done in helper and useful directory files to be forwarded to the index.html file that is at the root of the site.
That is, I want the only page that can be accessed directly (by an app on a smartphone) to be: /v1/index.php.
That kind of access I don’t want to happen:
And neither is this other:
Look in the configuration files
/etc/apache2/...conf
see if there is (1)DirectoryIndex index.html index.php
and (2) perhaps something like:Options +Indexes
(that would be allowing to see the directories)– JJoao
Are you using wamp or running on linux? If it is on linux, you can change the permissions of the folder to 700 for example, then the message "Forbiden" will appear. I don’t know if I can do it at wamp, because I only used it a few times.
– Trimes