Quantcast
Channel: BulletProof Security Forum » All Posts
Viewing all articles
Browse latest Browse all 12461

Force https trough .htaccess : ERR_TOO_MANY_REDIRECTS

$
0
0

I would like to force https in the website http://www.cabdrome.com , I tryed to do it adding these 2 lines in the .htaccess file:
<div class=”cms_table”>
<table class=”cms_table”>
<tbody>
<tr class=”cms_table_tr” valign=”top”>
<td class=”cms_table_td”>RewriteCond %{HTTPS} off</td>
</tr>
</tbody>
</table>
</div>
 
<div class=”cms_table”>
<table class=”cms_table”>
<tbody>
<tr class=”cms_table_tr” valign=”top”>
<td class=”cms_table_td”>RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]</td>
</tr>
</tbody>
</table>
But then I receive this error:

ERR_TOO_MANY_REDIRECTSThis webpage has a redirect loopThe webpage at https://www.cabdrome.com has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.

</div>
 


Viewing all articles
Browse latest Browse all 12461

Trending Articles