文書の過去の版を表示しています。
Apacheの設定
- バーチャルホストの設定ファイルを作成する。
$ vi ~/fuelapp/vhosts_fuelapp.conf
NameVirtualHost 127.0.0.1:80 <VirtualHost 127.0.0.1:80> DocumentRoot "/Users/tomoyan/fuelapp/public" ServerName fuelapp.localhost <Directory "/Users/tomoyan/fuelapp/public"> Order Allow,Deny Allow from All Options All AllowOverride All DirectoryIndex index.php index.html </Directory> </VirtualHost>
- Apache の設定ファイルに Include 定義を追加する。
$ vi httpd.conf
Include /Users/tomoyan/fuelapp/vhosts_fuelapp.conf
- hosts ファイルに設定を追加する。
$ vi /etc/hosts
127.0.0.1 fuelapp.localhost