/usr/local/etc/apache22/extra/httpd-vhosts.conf
<VirtualHost 219.117.246.222> # ServerAdmin webmaster DocumentRoot /usr/home/tfc/public_html ServerName www.thousand-winds.net ErrorLog /var/log/thousand-winds.net-error_log CustomLog /var/log/thousand-winds.net_log combined #ディレクトリへのアクセスを許可しないと、 #client denied by server configuration: #というエラーがでます <Directory "/usr/home/tfc/public_html"> Options FollowSymLinks AllowOverride None Order deny,allow Allow from all </Directory> </VirtualHost>
vi etc/newsyslog.conf
/var/log/thousand-winds.net_log 644 12 * @01T05 Z /var/run/httpd.pid /var/log/thousand-winds.net-error_log 644 12 * @01T06 Z /var/run/httpd.pid
http://www.gside.org/Gentoo/apache/virtualhost.html 2008-10-31 (金) 05:44:19