![]() |
http redirect to https
I like to run some websites only on https.
When a user request the site on http I want to have a redirect to the same site on https. It is simple with a "Redirect / https://site.tld" statement in the httpd.conf vhost file for that site. In the user interface a extra item after the "SSL:" for "https Only" ? Thanks in advance Fred Krom |
Have a look here: http://www-1.ibm.com/support/docview...id=swg21114864
You can put the rewrite rules in the Apache Directives field of the web site or in an .htaccess file. |
Hi Falco,
Thanks, filled the text in the ispconfig "Apache Directives" field and it work ok. There is always more than one way to get it working! RewriteEngine on RewriteCond %{SERVER_PORT} =80 RewriteRule ^(.*) https://%{SERVER_NAME}%{REQUEST_URI} Fred |
| All times are GMT +2. The time now is 15:44. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.