W w3services_net Member Dec 23, 2019 #1 Dec 23, 2019 #1 How to achieve force https if OLWS as a proxy?
Cold-Egg Administrator Dec 23, 2019 #2 Dec 23, 2019 #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
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
W w3services_net Member Dec 23, 2019 #3 Dec 23, 2019 #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?
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 Dec 23, 2019 #4 Dec 23, 2019 #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
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
W w3services_net Member Dec 23, 2019 #5 Dec 23, 2019 #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]
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]