generator-razor 14.1.6 → 14.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/templates/143/_.htaccess-dev +29 -13
- package/app/templates/143/_.htaccess-dev-ssl +29 -13
- package/app/templates/143-composer/_.htaccess-dev +29 -13
- package/app/templates/143-composer/_.htaccess-dev-ssl +29 -13
- package/app/templates/143-composer/composer.json +1 -1
- package/package.json +1 -1
|
@@ -28,25 +28,41 @@
|
|
|
28
28
|
# | Maintenance mode |
|
|
29
29
|
# ------------------------------------------------------------------------------
|
|
30
30
|
|
|
31
|
+
# Answers 503 with maintenance.html for everyone except the given IP, so
|
|
32
|
+
# search engines keep the pages and try again later (Retry-After: 1 hour).
|
|
33
|
+
# Behind a proxy, check X-Forwarded-For instead of REMOTE_ADDR.
|
|
34
|
+
|
|
31
35
|
# <IfModule mod_rewrite.c>
|
|
32
|
-
#
|
|
33
|
-
#
|
|
34
|
-
#
|
|
35
|
-
#
|
|
36
|
-
#
|
|
37
|
-
#
|
|
38
|
-
#
|
|
36
|
+
# RewriteEngine On
|
|
37
|
+
# RewriteCond %{REMOTE_ADDR} !^203\.0\.113\.10$
|
|
38
|
+
# # RewriteCond %{HTTP:X-Forwarded-For} !(^|,\s*)203\.0\.113\.10$
|
|
39
|
+
# RewriteCond %{REQUEST_URI} !^/maintenance\.html$
|
|
40
|
+
# RewriteCond %{REQUEST_URI} !\.(jpe?g|png|gif|svg|webp)$ [NC]
|
|
41
|
+
# RewriteRule .* - [R=503,L]
|
|
42
|
+
# </IfModule>
|
|
43
|
+
# ErrorDocument 503 /maintenance.html
|
|
44
|
+
# <IfModule mod_headers.c>
|
|
45
|
+
# Header always set Retry-After "3600" "expr=%{REQUEST_STATUS} == 503"
|
|
39
46
|
# </IfModule>
|
|
40
47
|
|
|
41
48
|
# ------------------------------------------------------------------------------
|
|
42
|
-
# |
|
|
49
|
+
# | Outdated browsers |
|
|
43
50
|
# ------------------------------------------------------------------------------
|
|
44
51
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
52
|
+
# Shows browser-support.html to browsers older than the build target (Vite's
|
|
53
|
+
# "baseline widely available"): Internet Explorer, Firefox < 115,
|
|
54
|
+
# Chrome / Edge < 111, Safari < 16.4 and every browser on iOS < 16.4.
|
|
55
|
+
# Bots are left out, some send old browser versions.
|
|
56
|
+
|
|
57
|
+
RewriteCond %{REQUEST_URI} !^/browser-support\.html$
|
|
58
|
+
RewriteCond %{HTTP_USER_AGENT} !(bot|crawl|spider|slurp|preview|facebookexternalhit|lighthouse|headless) [NC]
|
|
59
|
+
RewriteCond %{HTTP_USER_AGENT} (MSIE|Trident/) [NC,OR]
|
|
60
|
+
RewriteCond %{HTTP_USER_AGENT} Firefox/([0-9]{1,2}|10[0-9]|11[0-4])\. [NC,OR]
|
|
61
|
+
RewriteCond %{HTTP_USER_AGENT} Chrome/([0-9]{1,2}|10[0-9]|110)\. [NC,OR]
|
|
62
|
+
RewriteCond %{HTTP_USER_AGENT} "Version/([0-9]|1[0-5])(\.[0-9.]+)? Safari/" [NC,OR]
|
|
63
|
+
RewriteCond %{HTTP_USER_AGENT} "Version/16\.[0-3](\.[0-9]+)? Safari/" [NC,OR]
|
|
64
|
+
RewriteCond %{HTTP_USER_AGENT} "(iPhone|iPad|iPod).* OS ([0-9]|1[0-5])_" [NC,OR]
|
|
65
|
+
RewriteCond %{HTTP_USER_AGENT} "(iPhone|iPad|iPod).* OS 16_[0-3]( |_)" [NC]
|
|
50
66
|
RewriteRule .* browser-support.html [L]
|
|
51
67
|
|
|
52
68
|
# ------------------------------------------------------------------------------
|
|
@@ -28,25 +28,41 @@
|
|
|
28
28
|
# | Maintenance mode |
|
|
29
29
|
# ------------------------------------------------------------------------------
|
|
30
30
|
|
|
31
|
+
# Answers 503 with maintenance.html for everyone except the given IP, so
|
|
32
|
+
# search engines keep the pages and try again later (Retry-After: 1 hour).
|
|
33
|
+
# Behind a proxy, check X-Forwarded-For instead of REMOTE_ADDR.
|
|
34
|
+
|
|
31
35
|
# <IfModule mod_rewrite.c>
|
|
32
|
-
#
|
|
33
|
-
#
|
|
34
|
-
#
|
|
35
|
-
#
|
|
36
|
-
#
|
|
37
|
-
#
|
|
38
|
-
#
|
|
36
|
+
# RewriteEngine On
|
|
37
|
+
# RewriteCond %{REMOTE_ADDR} !^203\.0\.113\.10$
|
|
38
|
+
# # RewriteCond %{HTTP:X-Forwarded-For} !(^|,\s*)203\.0\.113\.10$
|
|
39
|
+
# RewriteCond %{REQUEST_URI} !^/maintenance\.html$
|
|
40
|
+
# RewriteCond %{REQUEST_URI} !\.(jpe?g|png|gif|svg|webp)$ [NC]
|
|
41
|
+
# RewriteRule .* - [R=503,L]
|
|
42
|
+
# </IfModule>
|
|
43
|
+
# ErrorDocument 503 /maintenance.html
|
|
44
|
+
# <IfModule mod_headers.c>
|
|
45
|
+
# Header always set Retry-After "3600" "expr=%{REQUEST_STATUS} == 503"
|
|
39
46
|
# </IfModule>
|
|
40
47
|
|
|
41
48
|
# ------------------------------------------------------------------------------
|
|
42
|
-
# |
|
|
49
|
+
# | Outdated browsers |
|
|
43
50
|
# ------------------------------------------------------------------------------
|
|
44
51
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
52
|
+
# Shows browser-support.html to browsers older than the build target (Vite's
|
|
53
|
+
# "baseline widely available"): Internet Explorer, Firefox < 115,
|
|
54
|
+
# Chrome / Edge < 111, Safari < 16.4 and every browser on iOS < 16.4.
|
|
55
|
+
# Bots are left out, some send old browser versions.
|
|
56
|
+
|
|
57
|
+
RewriteCond %{REQUEST_URI} !^/browser-support\.html$
|
|
58
|
+
RewriteCond %{HTTP_USER_AGENT} !(bot|crawl|spider|slurp|preview|facebookexternalhit|lighthouse|headless) [NC]
|
|
59
|
+
RewriteCond %{HTTP_USER_AGENT} (MSIE|Trident/) [NC,OR]
|
|
60
|
+
RewriteCond %{HTTP_USER_AGENT} Firefox/([0-9]{1,2}|10[0-9]|11[0-4])\. [NC,OR]
|
|
61
|
+
RewriteCond %{HTTP_USER_AGENT} Chrome/([0-9]{1,2}|10[0-9]|110)\. [NC,OR]
|
|
62
|
+
RewriteCond %{HTTP_USER_AGENT} "Version/([0-9]|1[0-5])(\.[0-9.]+)? Safari/" [NC,OR]
|
|
63
|
+
RewriteCond %{HTTP_USER_AGENT} "Version/16\.[0-3](\.[0-9]+)? Safari/" [NC,OR]
|
|
64
|
+
RewriteCond %{HTTP_USER_AGENT} "(iPhone|iPad|iPod).* OS ([0-9]|1[0-5])_" [NC,OR]
|
|
65
|
+
RewriteCond %{HTTP_USER_AGENT} "(iPhone|iPad|iPod).* OS 16_[0-3]( |_)" [NC]
|
|
50
66
|
RewriteRule .* browser-support.html [L]
|
|
51
67
|
|
|
52
68
|
# ------------------------------------------------------------------------------
|
|
@@ -28,25 +28,41 @@
|
|
|
28
28
|
# | Maintenance mode |
|
|
29
29
|
# ------------------------------------------------------------------------------
|
|
30
30
|
|
|
31
|
+
# Answers 503 with maintenance.html for everyone except the given IP, so
|
|
32
|
+
# search engines keep the pages and try again later (Retry-After: 1 hour).
|
|
33
|
+
# Behind a proxy, check X-Forwarded-For instead of REMOTE_ADDR.
|
|
34
|
+
|
|
31
35
|
# <IfModule mod_rewrite.c>
|
|
32
|
-
#
|
|
33
|
-
#
|
|
34
|
-
#
|
|
35
|
-
#
|
|
36
|
-
#
|
|
37
|
-
#
|
|
38
|
-
#
|
|
36
|
+
# RewriteEngine On
|
|
37
|
+
# RewriteCond %{REMOTE_ADDR} !^203\.0\.113\.10$
|
|
38
|
+
# # RewriteCond %{HTTP:X-Forwarded-For} !(^|,\s*)203\.0\.113\.10$
|
|
39
|
+
# RewriteCond %{REQUEST_URI} !^/maintenance\.html$
|
|
40
|
+
# RewriteCond %{REQUEST_URI} !\.(jpe?g|png|gif|svg|webp)$ [NC]
|
|
41
|
+
# RewriteRule .* - [R=503,L]
|
|
42
|
+
# </IfModule>
|
|
43
|
+
# ErrorDocument 503 /maintenance.html
|
|
44
|
+
# <IfModule mod_headers.c>
|
|
45
|
+
# Header always set Retry-After "3600" "expr=%{REQUEST_STATUS} == 503"
|
|
39
46
|
# </IfModule>
|
|
40
47
|
|
|
41
48
|
# ------------------------------------------------------------------------------
|
|
42
|
-
# |
|
|
49
|
+
# | Outdated browsers |
|
|
43
50
|
# ------------------------------------------------------------------------------
|
|
44
51
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
52
|
+
# Shows browser-support.html to browsers older than the build target (Vite's
|
|
53
|
+
# "baseline widely available"): Internet Explorer, Firefox < 115,
|
|
54
|
+
# Chrome / Edge < 111, Safari < 16.4 and every browser on iOS < 16.4.
|
|
55
|
+
# Bots are left out, some send old browser versions.
|
|
56
|
+
|
|
57
|
+
RewriteCond %{REQUEST_URI} !^/browser-support\.html$
|
|
58
|
+
RewriteCond %{HTTP_USER_AGENT} !(bot|crawl|spider|slurp|preview|facebookexternalhit|lighthouse|headless) [NC]
|
|
59
|
+
RewriteCond %{HTTP_USER_AGENT} (MSIE|Trident/) [NC,OR]
|
|
60
|
+
RewriteCond %{HTTP_USER_AGENT} Firefox/([0-9]{1,2}|10[0-9]|11[0-4])\. [NC,OR]
|
|
61
|
+
RewriteCond %{HTTP_USER_AGENT} Chrome/([0-9]{1,2}|10[0-9]|110)\. [NC,OR]
|
|
62
|
+
RewriteCond %{HTTP_USER_AGENT} "Version/([0-9]|1[0-5])(\.[0-9.]+)? Safari/" [NC,OR]
|
|
63
|
+
RewriteCond %{HTTP_USER_AGENT} "Version/16\.[0-3](\.[0-9]+)? Safari/" [NC,OR]
|
|
64
|
+
RewriteCond %{HTTP_USER_AGENT} "(iPhone|iPad|iPod).* OS ([0-9]|1[0-5])_" [NC,OR]
|
|
65
|
+
RewriteCond %{HTTP_USER_AGENT} "(iPhone|iPad|iPod).* OS 16_[0-3]( |_)" [NC]
|
|
50
66
|
RewriteRule .* browser-support.html [L]
|
|
51
67
|
|
|
52
68
|
# ------------------------------------------------------------------------------
|
|
@@ -28,25 +28,41 @@
|
|
|
28
28
|
# | Maintenance mode |
|
|
29
29
|
# ------------------------------------------------------------------------------
|
|
30
30
|
|
|
31
|
+
# Answers 503 with maintenance.html for everyone except the given IP, so
|
|
32
|
+
# search engines keep the pages and try again later (Retry-After: 1 hour).
|
|
33
|
+
# Behind a proxy, check X-Forwarded-For instead of REMOTE_ADDR.
|
|
34
|
+
|
|
31
35
|
# <IfModule mod_rewrite.c>
|
|
32
|
-
#
|
|
33
|
-
#
|
|
34
|
-
#
|
|
35
|
-
#
|
|
36
|
-
#
|
|
37
|
-
#
|
|
38
|
-
#
|
|
36
|
+
# RewriteEngine On
|
|
37
|
+
# RewriteCond %{REMOTE_ADDR} !^203\.0\.113\.10$
|
|
38
|
+
# # RewriteCond %{HTTP:X-Forwarded-For} !(^|,\s*)203\.0\.113\.10$
|
|
39
|
+
# RewriteCond %{REQUEST_URI} !^/maintenance\.html$
|
|
40
|
+
# RewriteCond %{REQUEST_URI} !\.(jpe?g|png|gif|svg|webp)$ [NC]
|
|
41
|
+
# RewriteRule .* - [R=503,L]
|
|
42
|
+
# </IfModule>
|
|
43
|
+
# ErrorDocument 503 /maintenance.html
|
|
44
|
+
# <IfModule mod_headers.c>
|
|
45
|
+
# Header always set Retry-After "3600" "expr=%{REQUEST_STATUS} == 503"
|
|
39
46
|
# </IfModule>
|
|
40
47
|
|
|
41
48
|
# ------------------------------------------------------------------------------
|
|
42
|
-
# |
|
|
49
|
+
# | Outdated browsers |
|
|
43
50
|
# ------------------------------------------------------------------------------
|
|
44
51
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
52
|
+
# Shows browser-support.html to browsers older than the build target (Vite's
|
|
53
|
+
# "baseline widely available"): Internet Explorer, Firefox < 115,
|
|
54
|
+
# Chrome / Edge < 111, Safari < 16.4 and every browser on iOS < 16.4.
|
|
55
|
+
# Bots are left out, some send old browser versions.
|
|
56
|
+
|
|
57
|
+
RewriteCond %{REQUEST_URI} !^/browser-support\.html$
|
|
58
|
+
RewriteCond %{HTTP_USER_AGENT} !(bot|crawl|spider|slurp|preview|facebookexternalhit|lighthouse|headless) [NC]
|
|
59
|
+
RewriteCond %{HTTP_USER_AGENT} (MSIE|Trident/) [NC,OR]
|
|
60
|
+
RewriteCond %{HTTP_USER_AGENT} Firefox/([0-9]{1,2}|10[0-9]|11[0-4])\. [NC,OR]
|
|
61
|
+
RewriteCond %{HTTP_USER_AGENT} Chrome/([0-9]{1,2}|10[0-9]|110)\. [NC,OR]
|
|
62
|
+
RewriteCond %{HTTP_USER_AGENT} "Version/([0-9]|1[0-5])(\.[0-9.]+)? Safari/" [NC,OR]
|
|
63
|
+
RewriteCond %{HTTP_USER_AGENT} "Version/16\.[0-3](\.[0-9]+)? Safari/" [NC,OR]
|
|
64
|
+
RewriteCond %{HTTP_USER_AGENT} "(iPhone|iPad|iPod).* OS ([0-9]|1[0-5])_" [NC,OR]
|
|
65
|
+
RewriteCond %{HTTP_USER_AGENT} "(iPhone|iPad|iPod).* OS 16_[0-3]( |_)" [NC]
|
|
50
66
|
RewriteRule .* browser-support.html [L]
|
|
51
67
|
|
|
52
68
|
# ------------------------------------------------------------------------------
|