rewrite http to https

Discussion in 'Installation/Configuration' started by pts0, Mar 19, 2011.

  1. pts0

    pts0 New Member HowtoForge Supporter

    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
     
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    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).
     
: https, rewrite

Share This Page