rewrite http to https

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

  1. pts0

    pts0 New Member


    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 ?


  2. falko

    falko Super Moderator 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).

Share This Page