Skip to content

Commit

Permalink
JVN#95292458 の修正不備に対応
Browse files Browse the repository at this point in the history
  • Loading branch information
okazy committed Jun 28, 2021
1 parent c683885 commit a1b5475
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
DirectoryIndex index.php index.html .ht

<FilesMatch "^composer|^COPYING|^\.env|^\.maintenance|^Procfile|^app\.json|^gulpfile\.js|^package\.json|^package-lock\.json|web\.config|^Dockerfile|^\.editorconfig|\.(ini|lock|dist|git|sh|bak|swp|env|twig|yml|yaml|dockerignore|sample)$">
order allow,deny
deny from all
</FilesMatch>

<Files ~ "/index.php">
order deny,allow
allow from all
Expand All @@ -17,6 +12,11 @@ DirectoryIndex index.php index.html .ht
Allow from all
</FilesMatch>

<FilesMatch "^composer|^COPYING|^\.env|^\.maintenance|^Procfile|^app\.json|^gulpfile\.js|^package\.json|^package-lock\.json|web\.config|^Dockerfile|^\.editorconfig|\.(ini|lock|dist|git|sh|bak|swp|env|twig|yml|yaml|dockerignore|sample)$">
order allow,deny
deny from all
</FilesMatch>

<IfModule mod_headers.c>
# クリックジャッキング対策
Header always set X-Frame-Options SAMEORIGIN
Expand Down

0 comments on commit a1b5475

Please sign in to comment.