# vi /etc/httpd/conf.d/1.conf
<VirtualHost xxx.xxx.xxx.xxx:80>
DocumentRoot "/var/www/dummy/web"
ServerName dummy.example.com
<Directory "/var/www/dummy/web">
allow from all
AllowOverride All
Options FollowSymLinks
Require all granted
</Directory>
</VirtualHost>
また、SSL版の設定ファイルも作ります。
# vi /etc/httpd/conf.d/1-ssl.conf
<VirtualHost xxx.xxx.xxx.xxx:443>
DocumentRoot "/var/www/dummy/web"
ServerName dummy.example.com
<Directory "/var/www/dummy/web">
allow from all
AllowOverride All
Options FollowSymLinks
Require all granted
</Directory>
SSLCertificateFile /etc/pki/tls/certs/localhost.crt
SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
SSLEngine on
SSLProtocol all -SSLv2 -SSLv3
</VirtualHost>