Force SSL in Sub-Directory C5 installBrowser Info Environment
I merely want to secure the login, then revert back to http for other pages.
The Force SSL addon attempts to work, in that a page secured via the properties of the page redirects to https, however the secured page produces the browser error:
"Too many redirects occurred trying to openhttps://www.mysite.com/xyz/securedpage/"... (Safari) or "This webpage has a redirect loop." (Chrome).
Also, when a page is secured, even though pretty urls is activated the secured web address adds in the 'index.php':https://www.mysite.com/xyz/index.php/securedpage... (not sure if that is part of the issue).
What do I need to do to get the Force SSL to work where the C5 install is in a subdirectory?
Sub directory should not cause any problems. Most likely, your BASE_URL_SSL is incorrect. Check the setting in the dashboard page, in particular whether or not you have included the www. if required.
Also, ensure the SSL is properly configured and enabled first. The easiest way to do this is to simply uninstall the addon and then attempt to visit the page in https - make sure it works without the addon.
Once you have checked these things, then please get back to me and let me know how you got on.
To get rid of the index.php, you need to add
Hope that helps!
Not sure why C5 is not simply applying the https to all referenced local resources within the site...
I thought maybe the Force SSL would let me secure just the login page and avoid all these other errors produced by the entire site being https.