2013年9月21日土曜日

さくらのVPSでPlay Frameworkを動かす:Apacheの設定をする

Apacheの設定を行います。

vim /etc/httpd/conf/httpd.conf

phpもindexに設定しておきます。

DirectoryIndex index.html index.html.var index.php

セキュリティ対策として以下を設定しておきます。

ServerTokens Prod
ServerSignature Off

Apacheを再起動します。

service httpd restart



0 件のコメント:

コメントを投稿