mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Allow access to HTML files in common/manual folder
This commit is contained in:
parent
50a8c77097
commit
1c55d8b411
2 changed files with 4 additions and 0 deletions
|
|
@ -2,6 +2,7 @@ RewriteEngine On
|
||||||
|
|
||||||
# block direct access to templates, XML schema files, config files, dotfiles, environment, etc.
|
# block direct access to templates, XML schema files, config files, dotfiles, environment, etc.
|
||||||
RewriteCond %{REQUEST_URI} !/modules/editor/(skins|styles)/
|
RewriteCond %{REQUEST_URI} !/modules/editor/(skins|styles)/
|
||||||
|
RewriteCond %{REQUEST_URI} !/common/manual/
|
||||||
RewriteRule ^(addons|common|files/ruleset|(m\.)?layouts|modules|plugins|themes|widgets|widgetstyles)/.+\.(html|xml)$ - [L,F]
|
RewriteRule ^(addons|common|files/ruleset|(m\.)?layouts|modules|plugins|themes|widgets|widgetstyles)/.+\.(html|xml)$ - [L,F]
|
||||||
RewriteRule ^files/(attach|config|cache/store)/.+\.php$ - [L,F]
|
RewriteRule ^files/(attach|config|cache/store)/.+\.php$ - [L,F]
|
||||||
RewriteRule ^files/env/ - [L,F]
|
RewriteRule ^files/env/ - [L,F]
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,9 @@
|
||||||
location ~ ^/modules/editor/(skins|styles)/.+\.html$ {
|
location ~ ^/modules/editor/(skins|styles)/.+\.html$ {
|
||||||
# pass
|
# pass
|
||||||
}
|
}
|
||||||
|
location ~ ^/common/manual/.+\.html$ {
|
||||||
|
# pass
|
||||||
|
}
|
||||||
location ~ ^/(addons|common|files/ruleset|(m\.)?layouts|modules|plugins|themes|widgets|widgetstyles)/.+\.(html|xml)$ {
|
location ~ ^/(addons|common|files/ruleset|(m\.)?layouts|modules|plugins|themes|widgets|widgetstyles)/.+\.(html|xml)$ {
|
||||||
return 403;
|
return 403;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue