Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:services:server_services:webhosting:redirect_to_ssl [2017/05/22 14:18] – [Redirection] rlossinen:services:server_services:webhosting:redirect_to_ssl [2020/10/30 09:19] (current) – [Wordpress with SSL] tlinnem1
Line 1: Line 1:
 +====== Redirecting to SSL-protected connection ======
 +===== Prerequisite  =====
  
 +In order to make sure that your website is delivered without showing a security warning please make sure to add your domain to the GWDG SSL certificate.
 +
 +===== Redirection =====
 +
 +The redirection can be configured by adding additional rules to the ''.htaccess''-file, which is processed by the webserver on every request. 
 +
 +A working configuration is shown in this example:
 +
 +<code>
 +# GWDG SSL REDIRECTION
 +RewriteCond %{HTTP:X-Forwarded-Proto} !https
 +RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI}
 +# END GWDG SSL REDIRECTION
 +</code>
 +
 +Information on activating SSL with Wordpress can be found under [[en:services:server_services:webhosting:wordpressssl|Wordpress with SSL]]