Skip to content

Commit a5491f2

Browse files
場所移動
あとCSSキャッシュ貯めないための文も削除。というか多分機能してない…
1 parent 40f0985 commit a5491f2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.htaccess

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ ErrorDocument 511 /lec/error/511.shtml
2828
AddType application/wasm wasm
2929
</IfModule>
3030

31+
<Files ~ "¥.htaccess$">
32+
Header add Pragma "no-cache"
33+
Header set Cache-Control no-cache
34+
</Files>
35+
3136
RewriteBase /
3237

3338
RewriteEngine on
@@ -48,8 +53,3 @@ RewriteRule ^(.*)$ $1.shtml [L]
4853

4954
RewriteCond %{THE_REQUEST} \.(shtml|html)\ HTTP
5055
RewriteRule ^(.*)\.(shtml|html)$ /$1 [R=301,L]
51-
52-
<Files ~ "¥.(css|htaccess)$">
53-
Header add Pragma "no-cache"
54-
Header set Cache-Control no-cache
55-
</Files>

0 commit comments

Comments
 (0)