mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-05 10:49:37 +02:00
Disable php included files direct access
This commit is contained in:
parent
8fdbcce0fa
commit
bde6890f9f
6 changed files with 17 additions and 2 deletions
|
@ -1 +1,2 @@
|
||||||
Deny from all
|
Order deny,allow
|
||||||
|
Deny from all
|
|
@ -1 +1,2 @@
|
||||||
Deny from all
|
Order deny,allow
|
||||||
|
Deny from all
|
2
lib/.htaccess
Normal file
2
lib/.htaccess
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
Order deny,allow
|
||||||
|
Deny from all
|
1
lib/javascript/.htaccess
Normal file
1
lib/javascript/.htaccess
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Allow from all
|
5
modules/.htaccess
Normal file
5
modules/.htaccess
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
Order deny,allow
|
||||||
|
Deny from all
|
||||||
|
<Files ~ "\.css$|\.js$|\.png$|\.gif$|\.jpg$|\.swf$|\.ttf$|\.json$|\.xml$|\.htc$">
|
||||||
|
Allow from all
|
||||||
|
</Files>
|
5
templates/.htaccess
Normal file
5
templates/.htaccess
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
Order deny,allow
|
||||||
|
Deny from all
|
||||||
|
<Files ~ "\.css$|\.gif$">
|
||||||
|
Allow from all
|
||||||
|
</Files>
|
Loading…
Add table
Add a link
Reference in a new issue