<div dir="ltr"><div><br></div>You can use drush to disable the securepages module,<div> <div><br></div><div>you can use this command</div><div><br></div><div><b>drush dis securepages</b></div><div><b><br></b></div><div>
and then , you will have to vi or you favorite command line editor, and check if you have the these two lines, in <b>settings.php,</b> , comment them out: it is located in /sites/default/settings.php</div><div><b><br></b></div>
<div><div style="font-weight:bold">$conf['https'] = TRUE;</div><div style="font-weight:bold"><br></div><div style="font-weight:bold">$conf['securepages_enable'] = 1;</div><div style="font-weight:bold"><br>
</div><div style="font-weight:bold"><br></div><div>oh !</div><div>and while you are in here , you can check this setting , make sure it uses the right domain.</div><div style="font-weight:bold"><br></div><div style><b>$cookie_domain = '';</b><br>
</div><div style="font-weight:bold"> </div><div>and then save and quit, on vi it is<b> :wq!</b></div><div style="font-weight:bold"><br></div><div style="font-weight:bold"><br></div><div>and then visit you site, this time make sure the url in the browser is http , not https.</div>
<div><br></div><div><br></div><div>I hope it helps</div><div style="font-weight:bold"><br></div><div style="font-weight:bold"><br></div><div style="font-weight:bold">Best luck.</div><div style="font-weight:bold"><br></div>
<div style="font-weight:bold"><br></div><div style="font-weight:bold"><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 28, 2014 at 12:04 PM, Afan Pasalic <span dir="ltr"><<a href="mailto:afan@afan.net" target="_blank">afan@afan.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Yes. I just checked (on live site) and Secure Pages is On. I can’t turn it off - because it’s live. And also, it’s required by some custom configuration module (this is handed over website, the one I didn’t develop :( )<div>
<br></div><div>But, at least I got somewhere :D</div><div><br></div><div>Thanks Stephen</div><div><br><div><br></div><div><br><div><div><div class="h5"><div>On Apr 28, 2014, at 11:00 AM, Stephen Mount <<a href="mailto:stemount@gmail.com" target="_blank">stemount@gmail.com</a>> wrote:</div>
<br></div></div><blockquote type="cite"><div><div class="h5"><div style="word-wrap:break-word">Do you have securepages or a similar module enabled? This could be forcing a HTTPS redirect.<div><br></div><div><a href="https://drupal.org/project/securepages" target="_blank">https://drupal.org/project/securepages</a></div>
<div><br><div><div>On 28 Apr 2014, at 16:32, Afan Pasalic <<a href="mailto:drupal@afan.net" target="_blank">drupal@afan.net</a>> wrote:</div><br><blockquote type="cite"><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">I copied a website to localhost (I’m using MAMP) and everything looks ok - until I try to login. It redirects me to<span> </span></span><a href="https://dev.localhost:8082/user" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">https://dev.localhost:8082/user</a><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important"><span> </span>(using Acquia) and I get “Secured Conenction Failed”.</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">How to turn the SSL request/check off?</span></blockquote>
</div><br></div></div></div></div><div class="">-- <br>[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]</div></blockquote></div><br></div></div></div><br>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Roger<br>--<br>Roger Bilinda<br>6829 Riverdale Rd<div>
Riverdale, MD 20737<br>(202)-754-6646<br><br></div></div>
</div>