Posts by RodolfoNeto • 101 points
1 post
-
0
votes2
answers3308
viewsA: Block direct access to a directory and create condition to free access with . htacess
Look if it helps you, this . htaccess from here we use in our Framework: RewriteEngine On RewriteCond public/$1 -F RewriteRule (.+) public/$1 [L] RewriteCond $0 !^(index\.php|public/) RewriteRule…