Invalid rewrites

ffeingol

Well-Known Member
#1
Hello All,

We had a client who was trying to use some rewrites like this:

rewriteEngine On
rewriteCond %{SERVER_PORT}!443
rewriteRule ^(.*)$ https://xxx.xxx.com/whmcs/$1 [R,L]

LSWS is not liking the SERVER_PORT. How would you rewrite (this rewrite LOL) to force https under LSWS?

Frank
 
Top