Why not use Module Admin>>Apache Config>>Override a Virtual Host Setting?
Select your domain that you want to be forwarded from 80 to 443
(Options
Port Override: 443
Forward Port 80 to Overriden Port: (Check This)
IP Override: Your Server IP (Optional)
Custom Entry:
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
SSLCertificateFile /etc/pki/tls/certs/localhost.crt
SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
If you want HTACCESS option only?
RewriteEngine on
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^/(.*) https://%{SERVER_NAME}:443/$1 [NC,R,L]
Select your domain that you want to be forwarded from 80 to 443
(Options
Port Override: 443
Forward Port 80 to Overriden Port: (Check This)
IP Override: Your Server IP (Optional)
Custom Entry:
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
SSLCertificateFile /etc/pki/tls/certs/localhost.crt
SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
If you want HTACCESS option only?
RewriteEngine on
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^/(.*) https://%{SERVER_NAME}:443/$1 [NC,R,L]
get top priority support for Sentora "Sentora Premium Support"
Domain Name Promos @ digix1 domains
Domain Name Promos @ digix1 domains