aboutsummaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-06-17 22:00:39 +0200
committerThomas Lange <code@nerdmind.de>2021-06-17 22:00:39 +0200
commit5555624546ea48d6327700f32b80848e0662dc90 (patch)
tree47d61fb756a6cb008aaf33586d292fcfe43da2a1 /.htaccess
parent91d8a28c664afa5378735bcd0efe068dd74d589f (diff)
parent0a2614cb69fc732c2115ef2f0c356f39f602d311 (diff)
downloadblog-optimization.tar.gz
blog-optimization.tar.xz
blog-optimization.zip
Merge branch 'master' into 'optimization'optimization
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess4
1 files changed, 2 insertions, 2 deletions
diff --git a/.htaccess b/.htaccess
index 950f985..b3203b2 100644
--- a/.htaccess
+++ b/.htaccess
@@ -23,7 +23,7 @@ ErrorDocument 404 /404.php
#===============================================================================
# Forbidden directories
#===============================================================================
-RewriteRule ^(core|template/([^/]+)/(html|lang)/) - [F]
+RewriteRule ^(.git|core|theme/([^/]+)/(html|lang)/) - [F]
#===============================================================================
# Main rules
@@ -31,4 +31,4 @@ RewriteRule ^(core|template/([^/]+)/(html|lang)/) - [F]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
-RewriteRule ^(.*)$ index.php [L] \ No newline at end of file
+RewriteRule ^(.*)$ index.php [L]