設定ファイル置場: /etc/apache2/

/ が /apache2-default/ にリダイレクトされるのを防ぎたいなら /etc/apache2/sites-available/default を修正する。

# This directive allows us to have apache2's default start page
# in /apache2-default/, but still have / go to the right place
RedirectMatch ^/$ /apache2-default/

再起動を忘れずに。

# /etc/init.d/apache2 restart

参考: ヨッパのサーバ構築 - Apche2のインストール, [debian-users:41723] apache2の設定に関して

Mmm.. Apche... Apache?

tags: Linux zurazure

Posted by NI-Lab. (@nilab)