Skip to content

Commit

Permalink
Merge pull request #5071 from chihiro-adachi/4.0.6
Browse files Browse the repository at this point in the history
Update 4.0.6
  • Loading branch information
okazy authored Jun 22, 2021
2 parents 863e6dc + 007f006 commit c683885
Show file tree
Hide file tree
Showing 7 changed files with 652 additions and 706 deletions.
9 changes: 8 additions & 1 deletion .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,18 @@ DirectoryIndex index.php index.html .ht
deny from all
</FilesMatch>

<Files ~ "index.php">
<Files ~ "/index.php">
order deny,allow
allow from all
</Files>

<FilesMatch "(?<!\.gif|\.png|\.jpg|\.jpeg|\.css|\.ico|\.js|\.svg|\.map)$">
SetEnvIf Request_URI "/vendor/" deny_dir
Order allow,deny
Deny from env=deny_dir
Allow from all
</FilesMatch>

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

0 comments on commit c683885

Please sign in to comment.