Jump to content
WebFlake
  • 0

[Urgent] I need to manually disable https, how?


chrismod

Question

I enabled SSL and the stupid certifcate doesn't match. Ridiculiously crappy web host. Now I am unable to log into admin on ip board to disable because it is trying to load https how can I disable this so i can log into http and didsable ssl?

I saw this here: https://www.invisionpower.com/support/kb/_/manually-disable-the-use-https-for-logins-setting-r68 but I can't download the IP.Board 3.4.7 tools! Also I only have IP board version 3.4. so I don't know if it will work.

I have emaield host and will update here if they fi, but they are useless! Edit: now an auto respond message from the host saying they no longer accept requests for support via email, ahh. useless company
 

THANKS!

Edited by chrismod
Link to comment
Share on other sites

Recommended Posts

  • 0

Not sure if I posted this before. I found this: https://www.invisionpower.com/support/kb/_/manually-disable-the-use-https-for-logins-setting-r68 but seems to require a download of IP. Board 3.4.7 tools 1.0.1 which I am unable to download from IP as I don't have an account. Anyone have this file? And no if it will work for IP board 3.4.6. Then I can probably disable https to log in.


edit: Just had a thought. Is it possible to delete any files in the mysitename/cache directory? Seems to be some php files in there, but also I guess this is where the cache of the web files is temporally stored? Perhaps clearing this could fix something? I am guessing mysitename/cache/tmp folder is a temporally folder and I can delete all stuff in it?


@laracroftonline I Don't think I answered your question directly. I am not using cloudfare. And I have tried removing the .htaccess and it doesn't resolve the issue :(


The hosts response "On this issue you should contact the experts involved in your site development" So now I am screwed, haven't got a clue how to fix this so that I can get onto the admin login page.

Is there anyone who is able to have a look at this and try to fix it? I am willing to pay for it.


EDIT: This has now been completed fixed! With the help of a Russian programmer. :)


For anyone who has the same issue. You need to re-enable SSL on the database and the run an upgrade script. I think this is relevant to what he did: https://www.invisionpower.com/support/kb/_/manually-disable-the-use-https-for-logins-setting-r68

Edited by chrismod
Link to comment
Share on other sites

  • 0

Put this in .htaccess, should disable all https.

 

<IfModule mod_rewrite.c>
	RewriteEngine On
	RewriteCond %{HTTPS} off
</IfModule>
Edit; Cant you disable the certificate in your cPanel?

 

Thanks! I will try that code now! I tried deleting the certificate and still couldn't log into admin. What's worse is that I have installed the correct SSL certificate, I checked the code. But when the website loads its somehow loading the old certificate, and also my dedicated ip I paid for isn't working either. I have send 10's of emails to the host company today, and their support is terrible. Going to change host.

But thanks for your help, I will try that now!

edit: doesn't seem to work. I have the code like this, is it correct?

 

<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteBase /
RewriteCond %{HTTPS} off
RewriteRule .(jpeg|jpg|gif|png)$ /public/404.php [NC,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]


</IfModule>
Edited by chrismod
Link to comment
Share on other sites

  • 0

Didn't seem to work. I have the code like this, if its correct?

 

<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteBase /
RewriteCond %{HTTPS} off
RewriteRule .(jpeg|jpg|gif|png)$ /public/404.php [NC,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]


</IfModule>

Didn't seem to work. I have the code like this, if its correct?

 

<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteBase /
RewriteCond %{HTTPS} off
RewriteRule .(jpeg|jpg|gif|png)$ /public/404.php [NC,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]


</IfModule>

Didn't seem to work. I have the code like this, if its correct?

 

<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteBase /
RewriteCond %{HTTPS} off
RewriteRule .(jpeg|jpg|gif|png)$ /public/404.php [NC,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]


</IfModule>

Didn't seem to work. I have the code like this, if its correct?

 

<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteBase /
RewriteCond %{HTTPS} off
RewriteRule .(jpeg|jpg|gif|png)$ /public/404.php [NC,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]


</IfModule>
Link to comment
Share on other sites

  • 0

@Ragehost I didn't mean to post and then edit my initial post like that. My interest went so slow I thought it wasn't letting me post new content.

I tried that and it doesn't work. But not to worry, thanks for trying. I need to fix it probably anyhow, I will just change webhost sometime this week. I am currently using reg.ru their english support on reg.com isn't very good, and my Russian isn't very good either  :woot:  not that their Russian support is that good either.

I am going to change to a better host with better service, seems like its worth paying more if there is good service.

 

Link to comment
Share on other sites

  • 0

@laracroftonline

 

<?php
$INFO['sql_driver']			=	'mysql';
$INFO['sql_host']			=	'127.0.0.1';
$INFO['sql_database']			=	Hidden
$INFO['sql_user']			=	Hidden
$INFO['sql_pass']			=	Hidden
$INFO['sql_tbl_prefix']			=	'';
$INFO['sql_debug']			=	'0';
$INFO['sql_charset']			=	'';
$INFO['board_start']			=	'1394362001';
$INFO['installed']			=	'1';
$INFO['php_ext']			=	'php';
$INFO['safe_mode']			=	'0';
$INFO['board_url']			=	Hidden
$INFO['banned_group']			=	'5';
$INFO['admin_group']			=	'4';
$INFO['guest_group']			=	'2';
$INFO['member_group']			=	'3';
$INFO['auth_group']			=	'1';
$INFO['use_friendly_urls']			=	'1';
$INFO['_jsDebug']			=	'0';
$INFO['mysql_tbl_type']			=	'MyISAM';

define('IN_DEV', 0);
/* Remote archive DB - complete these details if you're using a remote DB for the post archive.
   If content has already been archived in the local DB, this will need transferring and will not be done automatically. */
$INFO['archive_remote_sql_host']			=	'';
$INFO['archive_remote_sql_database']			=	'';
$INFO['archive_remote_sql_user']			=	'';
$INFO['archive_remote_sql_pass']			=	'';
$INFO['archive_remote_sql_charset']			=	'';

?>

Thats the code in the config file. If it was opencart could just delete the 's' but i don't see anything related to http or https here :S


I haven't tried, but I think I need this code...

 

<IfModule mod_rewrite.c>
RewriteEngine On

RewriteCond %{HTTPS} on
RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI}
</IfModule>
Edited by chrismod
Link to comment
Share on other sites

  • 0

The host has fixed the SSL and now it is displaying the correct SSL with correct common name.

But when I try to go to https it says there are too many redirects. I presume in admin http is forwarding to https and back to http and so forth. Any ideas how to fix this?

Please could someone tell me if this is the correct code for the .htaccess file, or if I have messed it up, what should it be?

 

<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .(jpeg|jpg|gif|png)$ /public/404.php [NC,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]


</IfModule>
Edited by chrismod
Link to comment
Share on other sites

×
×
  • Create New...