Hi,
I have pasted both ssl.conf file and httpd.conf file below. I have made changes in http but when i tried to access
http://webmail.rtscmail.in its not redirecting to
https://webmail.rtscmail.in and its giving error 404 not found.
-------------------------------------------------
ssl.conf(custimize)
LoadModule ssl_module modules/mod_ssl.so
Listen 192.168.2.147:443
SSLRandomSeed startup file:/dev/urandom 1024
SSLRandomSeed connect file:/dev/urandom 1024
<VirtualHost 192.168.2.147:443>
SSLEngine On
SSLCertificateFile /etc/pki/tls/http/apachecert.pem
SSLCertificateKeyFile /etc/pki/tls/http/apachekey.pem
SSLProtocol All -SSLv2
SSLCipherSuite HIGH:MEDIUM:!aNULL:+MD5
DocumentRoot "/var/www/html/webmail"
ServerName webmail.rtscmail.in:443
</VirtualHost>
-------------------------------
httpd.conf
NameVirtualHost 192.168.2.147:443
<VirtualHost 192.168.2.147:443>
ServerName webmail.rtscmail.in
ServerAdmin
postmaster@rtscmail.in
DocumentRoot /var/www/html/webmail
</VirtualHost>
<Directory /var/www/html/webmail>
SSLRequireSSL
SSLOptions +StrictRequire
SSLRequire %{HTTP_HOST} eq "webmail.rtscmail.in"
ErrorDocument 403
https://webmail.rtscmail.in/sslerror.html
</Directory>
Please check and let me know where i need to change it or anything i missed in configuration.