Added mod_rewrite for nginx module
This commit is contained in:
1
cms/grav/user/config.yml
Normal file
1
cms/grav/user/config.yml
Normal file
@@ -0,0 +1 @@
|
||||
User config.yml file - should be blocked by RewriteRule ^(user)/(.*)\.(txt|md|json|yaml|yml|php|pl|py|cgi|twig|sh|bat)$ error [F]
|
||||
1
cms/grav/user/data.json
Normal file
1
cms/grav/user/data.json
Normal file
@@ -0,0 +1 @@
|
||||
User data.json file - should be blocked by RewriteRule ^(user)/(.*)\.(txt|md|json|yaml|yml|php|pl|py|cgi|twig|sh|bat)$ error [F]
|
||||
1
cms/grav/user/module.php
Normal file
1
cms/grav/user/module.php
Normal file
@@ -0,0 +1 @@
|
||||
User module.php file - should be blocked by RewriteRule ^(user)/(.*)\.(txt|md|json|yaml|yml|php|pl|py|cgi|twig|sh|bat)$ error [F]
|
||||
1
cms/grav/user/script.sh
Normal file
1
cms/grav/user/script.sh
Normal file
@@ -0,0 +1 @@
|
||||
User script.sh file - should be blocked by RewriteRule ^(user)/(.*)\.(txt|md|json|yaml|yml|php|pl|py|cgi|twig|sh|bat)$ error [F]
|
||||
1
cms/grav/user/settings.yaml
Normal file
1
cms/grav/user/settings.yaml
Normal file
@@ -0,0 +1 @@
|
||||
User settings.yaml file - should be blocked by RewriteRule ^(user)/(.*)\.(txt|md|json|yaml|yml|php|pl|py|cgi|twig|sh|bat)$ error [F]
|
||||
1
cms/grav/user/template.twig
Normal file
1
cms/grav/user/template.twig
Normal file
@@ -0,0 +1 @@
|
||||
User template.twig file - should be blocked by RewriteRule ^(user)/(.*)\.(txt|md|json|yaml|yml|php|pl|py|cgi|twig|sh|bat)$ error [F]
|
||||
1
cms/grav/user/test.txt
Normal file
1
cms/grav/user/test.txt
Normal file
@@ -0,0 +1 @@
|
||||
User test.txt file - should be blocked by RewriteRule ^(user)/(.*)\.(txt|md|json|yaml|yml|php|pl|py|cgi|twig|sh|bat)$ error [F]
|
||||
Reference in New Issue
Block a user