--- rpms/e-smith-ibays/sme9/e-smith-ibays-2.4.0-force-https.patch 2013/12/01 03:37:41 1.1 +++ rpms/e-smith-ibays/sme9/e-smith-ibays-2.4.0-force-https.patch 2014/03/09 08:25:12 1.2 @@ -8,7 +8,7 @@ diff -Nur e-smith-ibays-2.4.0-original/r - + my $SSLPort = $modSSL{'TCPPort'} || '443'; + -+ if (( $port ne $SSLPort ) && (($ibay->prop('SSL') || 'enabled') eq 'enabled')){ ++ if (( $port ne $SSLPort ) && (($ibay->prop('SSL') || 'disabled') eq 'enabled')){ + $OUT .= " RewriteEngine on\n"; + $OUT .= " RewriteRule ^/$key(/.*|\$) https://%{HTTP_HOST}/$key\$1 \[L,R\]\n"; + }