HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   rewrite http to https (http://www.howtoforge.com/forums/showthread.php?t=51949)

pts0 19th March 2011 18:35

rewrite http to https
 
Hallo,

there is a way to do this rewrite rule into ispconfig3

RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

or at least to tell ispconfig should not overwrite this rule anymore ?

Thanks

pts0

falko 20th March 2011 22:07

You can use the Apache Directives field in the ISPConfig settings of a website to add these directives (or put them in an .htaccess file).


All times are GMT +2. The time now is 18:27.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.