apache2 メモ

apache2

(1) httpd.conf

/etc/apache2 配下に httpd.conf ファイルはあったが 0バイトでした。

代わりに apache2.conf がありました。

(2) 待ち受けポートの変更

/etc/apache2/ports.conf

NameVirtualHost *:12345
Listen 12345

(3) DocumentRootの変更

/etc/apache2/sites-available/default

<VirtualHost *:12345>
    ServerAdmin webmaster@localhost

    DocumentRoot /var/www
</VirtualHost>

▲ PageTop  ■ Home


Copyright (C) 2013 ymlib.com