php-pastebin-v3 icon indicating copy to clipboard operation
php-pastebin-v3 copied to clipboard

Move every core directory one folder back

Open meletisf opened this issue 10 years ago • 1 comments

You should move the core directories one folder back. Having them where the webserver points is a very VERY bad idea. If you dont want, atleast update the .htaccess accordingly to block access.

meletisf avatar Jul 19 '15 01:07 meletisf

You can easely achieve that by adding the following code to your htaccess

RewriteRule ^(themes/bootstrap/index.html) - [F,L,NC]
RewriteRule ^(plugins/) - [F,L,NC]
RewriteRule ^(pages/) - [F,L,NC]
RewriteRule ^(cache/) - [F,L,NC]

knackrack615 avatar Jul 19 '15 01:07 knackrack615