1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-14 00:54:03 +02:00

Removing Parsedown parser

This commit is contained in:
Awilum
2018-06-08 01:44:54 +03:00
parent 08329c6bc2
commit 924052ae48
2 changed files with 5 additions and 7 deletions

View File

@@ -12,7 +12,7 @@
RewriteEngine On
RewriteBase /flextype/
RewriteBase /
## Begin - Exploits
# If you experience problems on your site block out the operations listed below
@@ -49,9 +49,9 @@ RewriteRule ^(\.git|flextype)/(.*) error [F]
# Block access to specific file types for these system folders
RewriteRule ^(flextype|vendor)/(.*)\.(txt|xml|md|html|yaml|yml|php|pl|py|cgi|sh|bat)$ error [F]
# Block access to specific file types for these user folders
RewriteRule ^(site)/(.*)\.(txt|md|yaml|yml|php|pl|py|cgi|sh|bat)$ error [F]
# Block all direct access to .md files:
RewriteRule \.md$ error [F]
RewriteRule ^(site)/(.*)\.(txt|md|html|yaml|yml|php|pl|py|cgi|sh|bat)$ error [F]
# Block all direct access to .html files:
RewriteRule \.html$ error [F]
# Block all direct access to files and folders beginning with a dot
RewriteRule (^|/)\.(?!well-known) - [F]
# Block access to specific files in the root folder