Skip to content

Commit

Permalink
VSCode Remote Containers 設定ディレクトリへの外部からのアクセスを拒否
Browse files Browse the repository at this point in the history
  • Loading branch information
KentarouTakeda committed Aug 20, 2020
1 parent fc0813b commit 743c17d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ DirectoryIndex index.php index.html .ht
RewriteRule "^codeception/" - [F]
RewriteRule "^bin/" - [F]
RewriteRule "^dockerbuild/" - [F]
RewriteRule "^\.devcontainer/" - [F]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !^(.*)\.(gif|png|jpe?g|css|ico|js|svg|map)$ [NC]
Expand Down
1 change: 1 addition & 0 deletions web.config
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
<add segment="codeception" />
<add segment="bin" />
<add segment="dockerbuild" />
<add segment=".devcontainer" />
</hiddenSegments>
<denyUrlSequences>
<add sequence="composer" />
Expand Down

0 comments on commit 743c17d

Please sign in to comment.