2015/18/11
welcartの必須オプションを選択せずにカートに入れるとページ移動せずにエラーメッセージを表示する1・C:\MAMP\conf\apache\httpd.confとC:\MAMP\bin\apache\conf\httpd.confをテキストエディタで開き、以下の部分を編集
# Virtual hosts<br>#Include conf/extra/httpd-vhosts.conf
のコメントアウトを解除し
# Virtual hosts<br>Include conf/extra/httpd-vhosts.conf
とする
2・C:\MAMP\bin\apache\conf\extra\httpd-vhosts.confを開き以下を最後の行に記入
NameVirtualHost *:80<br><virtualhost *:80> # ↓ルートに設定したいフォルダDocumentRoot "/Users/user/httpdocs" # ↓バーチャルドメイン名<br>ServerName sacss<br></virtualhost>
3・C:\Windows\System32\drivers\etc\hostsを開きバーチャルホストを追加
127.0.0.1 localhost sacss
※sacssの部分を2で決めたバーチャルドメイン名に。localhostの後に半角スペースを空けて
質問やご指摘など気軽にどうぞ