mirror of
https://github.com/processwire/processwire.git
synced 2025-08-20 13:31:48 +02:00
htaccess version update, including suggestions from Teppo, Netcarver, and several other updates while I was there. See the htaccess.txt file for upgrade instructions.
This commit is contained in:
10
site-default/htaccess.txt
Normal file
10
site-default/htaccess.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
# ProcessWire: Block any PHP files from direct access
|
||||
<FilesMatch "\.(php|module|inc)$">
|
||||
<IfModule mod_authz_core.c>
|
||||
Require all denied
|
||||
</IfModule>
|
||||
<IfModule !mod_authz_core.c>
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</IfModule>
|
||||
</FilesMatch>
|
Reference in New Issue
Block a user