Disabling an HTTPS redirection


I’m taking over a project that I had left aside since few months.
I can’t open the project on localhost. Firefox error : SSL_ERROR_RX_RECORD_TOO_LONG

I think the problem comes from a forced redirection http to https I’ve implemented, not supported by MAMP. To do this, I added few lines in the .htaccess :

RewriteEngine On

	## http -> https
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L,NE,QSA]

I tried to delete them but the redirection is still working.
My config.php is empty (except 'debug' => true).
I didn’t modified the router.php neither routes.php.

I wander where the redirection is coming from ?

Thanks for your help

If you have removed those lines, then maybe the browser is still caching the url, delete the browser cache or open a new private window for testing.

Of course…

Thx @texnixe ! Case closed.