We are using apache web server with RHEL 6.4.
Currently we configured Name based virtual host on server.
Enabled "Namebased Virtualhost *:80"
and created /etc/httpd/conf.d/example-com.conf
<VirtualHost *:80>
ServerAdmin
[email protected]
DocumentRoot /var/www/vhost/example.com/public_html
ServerName www.example.com
ServerAlias example.com
ErrorLog /var/log/httpd/vhosts/example-com-error_log
CustomLog /var/log/httpd/vhosts/example-com-access_log common
</VirtualHost>
I've located my ssl certificates by /etc/httpd/conf.d/ssl.conf
In this case how can I switch 80 site to 433 and also
redirect all requests to 80 to 443