0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

[メモ]Apache 2.4.49 でバーチャルホストをホストする。

Last updated at Posted at 2021-10-01

ステップ1

1.Apache をダウンロードする。
(https://www.apachelounge.com/download/)

ステップ2

1.httpd-\2.4.49-win64-VS16 を解凍する。
2.フォルダー Apache24\mysite\ を作成する。
3.Apache24\conf\httpd.conf で以下のテキストを追加する。

# 61行目
Listen <ボート>

# 213行目
<VirtualHost *:<ボート>>
    DocumentRoot "${SRVROOT}/mysite"
</VirtualHost>

# 239行目
<Directory />
    AllowOverride none
    Require all granted
</Directory>

ステップ3

1.Apache24\bin\ApacheMonitor.exe をクリックして、Apache24 を起動する。
2.ブラウザで localhost:<ボート> にアクセスする。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?