Post by tgdonohue » Tue Jun 19, 2018 11:30 pm

OC 2.1

When I created a separate IP and SSL certificate for an operational sit I began to have difficulties.
I created the following web.confog file to redirect users to https.
***********
<?xml
version="1.0"
encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<clear
/>
<rule
name="Redirect
to https"
stopProcessing="true">
<match
url=".*"
/>
<conditions>
<add
input="{HTTPS}"
pattern="off"
ignoreCase="true"
/>
</conditions>

<action
type="Redirect"
url="https://{HTTP_HOST}{REQUEST_URI}"
redirectType="Permanent"
appendQueryString="false"
/>
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
******************************
That properly redirected to https
However
I cannot log into my admin area.
I get no errors, just a refresh of the admin login screen.

I am confident in my config.php and admin/config.php as I can run them in another instance of OC. and they correctly log me in.

I could REALLY use some help here.
Thanks

New member

Posts

Joined
Sat Mar 12, 2016 3:03 am

Post by d3z1gnr » Wed Jun 20, 2018 8:39 am

Are you able to access the OC log file eg. by SSH or FTP? One thing to check that has worked for me in the past is clearing the file (if it has become very large).

Mike Little
Director / Developer / Makes the coffee
Creative Digital Limited
http://www.creativedigital.co.nz


User avatar
Active Member

Posts

Joined
Mon Jan 18, 2010 2:59 pm
Location - Auckland, New Zealand

Post by tgdonohue » Wed Jun 20, 2018 11:23 pm

Thank You.
I tried your suggestion but to no effect.

New member

Posts

Joined
Sat Mar 12, 2016 3:03 am
Who is online

Users browsing this forum: No registered users and 53 guests