・メインドメイン
[root@centos]# vi /etc/httpd/conf.d/www.papa-net.com.conf
<VirtualHost *:80>
DocumentRoot /home/html/www
ServerName www.papa-net.info
ErrorLog logs/www.papa-net.info-error_log
CustomLog logs/www.papa-net.info-access_log combined env=!no_log
*** 以下追記 ***
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
*** ここまで ***
<Directory "/home/html/www">
Options ExecCGI FollowSymLinks
AllowOverride All
Require all granted
</Directory>
<IfModule alias_module>
ScriptAlias /cgi-bin/ "/home/html/www/cgi-bin/"
</IfModule>
<Directory "/home/html/www/cgi-bin">
AllowOverride None
Options Includes ExecCGI FollowSymLinks
Require all granted
</Directory>
</VirtualHost>
※サブドメインも同様に設定