1
0
Fork 0

Compare commits

..

2 commits

3 changed files with 10 additions and 4 deletions

View file

@ -10,8 +10,8 @@ RewriteRule ^content/(.*)\.(txt|md|mdown)$ index.php [L]
# block all files in the site folder from being accessed directly # block all files in the site folder from being accessed directly
# except for requests to plugin assets files # except for requests to plugin assets files
#RewriteRule ^assets/plugins/([a-zA-Z0-9\.\-_%=]+)/(.*)$ site/plugins/$1/assets/$2 [L,N] RewriteRule ^assets/plugins/([a-zA-Z0-9\.\-_%=]+)/(.*)$ site/plugins/$1/assets/$2 [L,N]
#RewriteCond $1 !^plugins/[a-zA-Z0-9\.\-_%=]+/assets/.* RewriteCond $1 !^plugins/[a-zA-Z0-9\.\-_%=]+/assets/.*
RewriteRule ^site/(.*) index.php [L] RewriteRule ^site/(.*) index.php [L]
# block direct access to kirby and the panel sources # block direct access to kirby and the panel sources
@ -33,6 +33,12 @@ RewriteRule ^(.*) index.php [L]
# block update scripts # block update scripts
RewriteRule ^(.*).sh$ error [R=301,L] RewriteRule ^(.*).sh$ error [R=301,L]
# block git repo
RewriteRule ^.git/(.*) error [R=301,L]
RewriteRule ^.gitattributes error [R=301,L]
RewriteRule ^.gitignore error [R=301,L]
RewriteRule ^.gitmodules error [R=301,L]
# enable gzip compressed transfer # enable gzip compressed transfer
<IfModule mod_deflate.c> <IfModule mod_deflate.c>

2
kirby

@ -1 +1 @@
Subproject commit dce4a931e1d3d0fa177d890e31eb9d836f400dc0 Subproject commit e3bc4e4277859249cff1a67c333a5544766cad31

2
panel

@ -1 +1 @@
Subproject commit a21738ca759b150bfb8d618060ad72296ab25810 Subproject commit 31a79539294c24f636d2f3af004aa2576eb59040