Bhaveshpp

Professional Magento Developr - Healp eachother to grow

.htaccess setting?

22 May 2021 » server

general setting

deny access directory

.htaccess

Deny from all

deny access root file

<Files config.php>
    order allow,deny
    deny from all
    Require all denied
</Files>

Don’t allow list file of directory

Options -Indexes

use

Options SymLinksIfOwnerMatch 

in place of

Options +FollowSymLinks

REF: [https://www.virtualmin.com/comment/732405#comment-732405]