I have a Debian/Linux Lenny LAMP server with Plesk Panel 10.2. I have a PHP/MySQL webapp deployed in a Plesk "webspace".
I want to enforce SSL site-wide.
Do I just forward port 80 to 443? For my single domain cert, do I forward www.example.com
to example.com
or do I forward example.com
to www.example.com
?
Should this happen with .htaccess
or some VirtualHost
config file?