Initial commit: MSPE website - full site with admin panel, API, and public pages
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# Prevent PHP execution in uploads directory
|
||||
<FilesMatch "\.(php|phtml|php3|php4|php5|php7|phps|cgi|pl|py|sh|bash)$">
|
||||
<IfModule mod_authz_core.c>
|
||||
Require all denied
|
||||
</IfModule>
|
||||
<IfModule !mod_authz_core.c>
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
</IfModule>
|
||||
</FilesMatch>
|
||||
|
||||
# Disable directory listing
|
||||
Options -Indexes
|
||||
Reference in New Issue
Block a user