脳汁portal

アメリカ在住(だった)新米エンジニアがその日学んだIT知識を書き綴るブログ

ubuntu16.04でApacheのDirectoryIndexを変更する

vi /etc/apache2/mods-available/dir.con
### 以下を修正してapacheをrestartすればよい
<IfModule mod_dir.c>
        DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm
</IfModule>