Skip to content

Instantly share code, notes, and snippets.

@h-sakano
Created October 21, 2017 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save h-sakano/fd1abd48d3383aa73050c35d5958d661 to your computer and use it in GitHub Desktop.
Save h-sakano/fd1abd48d3383aa73050c35d5958d661 to your computer and use it in GitHub Desktop.
Mac OSにXAMPP7.1.10-0のインストール・設定 ref: http://qiita.com/h-sakano/items/77fb8367348aeb019209
# 下の2つの設定はコメントアウト
# <VirtualHost *:80>
# ServerAdmin webmaster@dummy-host.example.com
# DocumentRoot "/opt/lampp/docs/dummy-host.example.com"
# ServerName dummy-host.example.com
# ServerAlias www.dummy-host.example.com
# ErrorLog "logs/dummy-host.example.com-error_log"
# CustomLog "logs/dummy-host.example.com-access_log" common
# </VirtualHost>
# <VirtualHost *:80>
# ServerAdmin webmaster@dummy-host2.example.com
# DocumentRoot "/opt/lampp/docs/dummy-host2.example.com"
# ServerName dummy-host2.example.com
# ErrorLog "logs/dummy-host2.example.com-error_log"
# CustomLog "logs/dummy-host2.example.com-access_log" common
# </VirtualHost>
# これを追加
<VirtualHost *:8081>
DocumentRoot "/opt/lampp/htdocs/busbar-j"
ServerName localhost
</VirtualHost>
Listen 80
# 以下を追加
Listen 8081
# コメントアウトを外す。
Include etc/extra/httpd-vhosts.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment