3
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Web.configを使ってIISのディレクトリの参照を許可する

Last updated at Posted at 2016-02-21

Web.configを作る。

<configuration>
  <system.webServer>
     <directoryBrowse enabled="true" />
  </system.webServer>
</configuration>
<configuration>
  <location path="pub/hoge">
    <system.webServer>
      <directoryBrowse enabled="true" />
    </system.webServer>
  </location>
</configuration>

これだけ。
他のIIS設定もWeb.configで制御可能。
IISマネージャを直接触れない環境で使う。

3
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?