インストール
- http://fuelphp.jp/docs/1.7/installation/instructions.html を参考にホームディレクトリにインストール
-
/etc/httpd/conf/httpd.confの設定してホームディレクトリ以下で参照されるようにする
# directory if a ~user request is received. # # The path to the end user account 'public_html' directory must be # accessible to the webserver userid. This usually means that ~userid # must have permissions of 711, ~userid/public_html must have permissions # of 755, and documents contained therein must be world-readable. # Otherwise, the client will only receive a "403 Forbidden" message. # # See also: http://httpd.apache.org/docs/misc/FAQ.html#forbidden # <IfModule mod_userdir.c> # # UserDir is disabled by default since it can confirm the presence # of a username on the system (depending on home directory # permissions). # #UserDir disabled <== コメントアウト # # To enable requests to /~user/ to serve the user's public_html # directory, remove the "UserDir disabled" line above, and uncomment # the following line instead: # #UserDir public_html UserDir fuelSample/public # <== 追加 </IfModule>
apache再起動
sudo /etc/rc.d/init.d/httpd restart