user5903926 user5903926 - 1 year ago 40
PHP Question

PHP .htaccess files can be reached as directory! How to disable?

I have files in my server like

, which I can access on my server as
. How can I disable it? It overlaps my

Answer Source

This is because multiviews are enabled on your server, you can disable them by using the following line in your htaccess

Opitions -Multiviews