Force https ( redirection ) - web proxy

Cold-Egg

Administrator
#2
HI,

Just ask, did you setup OLWS as a proxy success yet?
You can put rewrite rules in .htaccess file if that is what you are asking?

Best,
Eric
 
#3
Yes. All working good except -

The website is not accessible on Http ( whereas https working ). SSL checker report showing force https not enabled whereas I already added code.

Any setting in OLWS so that only https request go next level?
 

Cold-Egg

Administrator
#4
If you just leave one line in rewrite tab, will it work?
Code:
RewriteRule ^(.*)$ http://apachehttps/$1 [P,L]
Please share all rules in rewrite tab and .htaccess file, thanks.

Best,
Eric
 
#5
Thanks after putting only

RewriteRule ^(.*)$ http://apachehttps/$1 [P,L]

But now how request to to apache?

Both versions started like Http and https but force https not working.

.htaccess Rules ( on apache )

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
 
Top