#
# IPアドレス:%{ip}
# ホスト名 :%{v_host}
# Doc Root :%{doc_root}
# 管理者 :%{admin_addr}
#
<virtualhost %{ip}:80>
ServerName %{v_host}
ServerAdmin %{admin_addr}
DocumentRoot %{doc_root}
CustomLog "|/usr/local/apache2/bin/rotatelogs /var/log/httpd/%{v_host}/access_log_%Y%m%d 86400 540" combined
ErrorLog "|/usr/local/apache2/bin/rotatelogs /var/log/httpd/%{v_host}/error_log_%Y%m%d 86400 540"
<directory "%{doc_root}">
Options FollowSymLinks MultiViews Includes # ExecCGI
AllowOverride AuthConfig
Order deny,allow
Deny from all
Allow from all
</directory>
</virtualhost>