I am having trouble getting both a subdomain and the subdomain to have https security. I do have both modSSL and openSSL installed. I have created a subdomain off of my main domain in the folder subs/subdomain. I am using the following configuration on the server:
1. OS - Centos 4
2. Webmin and VirtualMin for management
3. Here is the .htaccess file
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} subdomain.domain.com
RewriteCond %{REQUEST_URI} !subs/subdomain/
RewriteRule ^(.*)$ subdomain/$1 [L]
RewriteCond %{SERVER_PORT}!^443$
RewriteRule ^(.*)$
https://subdomain.domain.com/$1 [R]
This file is in the document root. Is there something else that I should be doing to get the site to show correctly?