vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=263)
-   -   http to https vbulletin 5 (https://vborg.vbsupport.ru/showthread.php?t=326032)

blade00 01-28-2018 11:24 AM

http to https vbulletin 5
 
1 Attachment(s)
Hi everyone, I tried to switch to https my site but an error occours on the login box (see attached picture).
Do you know why I have this issue?

Thanks
Alessandro

Dave 01-28-2018 01:24 PM

You haven't changed all URL settings to its HTTPS varient yet in the AdminCP.

blade00 01-28-2018 03:35 PM

now I changed it again to http as the forum is blocked when I put https addresses...

In Omnibus 01-28-2018 04:02 PM

Quote:

Originally Posted by blade00 (Post 2592464)
now I changed it again to http as the forum is blocked when I put https addresses...

What do you mean by "blocked?"

It sounds like there is something wrong with your https certificate.

Seven Skins 01-28-2018 04:04 PM

This may help you: https://www.vbulletin.com/forum/arti...forum-to-https

blade00 01-28-2018 04:07 PM

@ Seven Skins - It's just the instruction I followed and doesn't work for me.
@ In Omnibus - I mean nobody can login anymore If I configure https

--------------- Added [DATE]1517163897[/DATE] at [TIME]1517163897[/TIME] ---------------

now I set back https, you can see how the login box appears on fiattipoclub .it

Seven Skins 01-28-2018 05:11 PM

Have you changed all three of these settings in adminCP?

vBulletin URL
Login URL
Core URL

And you may need to use .htacess to redirect http to https

blade00 01-28-2018 05:14 PM

Yes I changed the 3 urls and my hoster asks me to add to htaccess this:
Code:

RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]


Seven Skins 01-28-2018 05:24 PM

Try this

Code:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]


blade00 01-28-2018 06:00 PM

Done, nothing change, thank you

meissenation 01-31-2018 12:23 AM

I switched to HTTPS for a few months but it was way more headache than it was worth. All it takes is someone to have an HTTP image in their signature and your trusted logo turns into mixed content some trusted and some untrusted. My site was also inexplicably slower while it was on HTTPS. I switched back and my site is noticeably faster again. I don't know how to explain it, but it was just a pain.

Mark.B 01-31-2018 05:19 PM

<a href="https://www.vbulletin.com/forum/articles/4361080-converting-your-forum-to-https" target="_blank">THIS</a> guide explains in detail how to convert your site to https. It's important to follow every single step.

noypiscripter 02-01-2018 03:41 AM

For user-generated content where you don't have full control on the users' usage of http/https such as in signatures and post attachments, you can add this meta tag in the head to block mixed content. This way, your site will still show the green padlock icon in the address bar.

Code:

<meta http-equiv="Content-Security-Policy" content="block-all-mixed-content" />
If you are on vBCloud, you can add it in the Google Ownership Verification HTML tag in AdminCP, otherwise, you can add it in the head_include template in AdminCP.

romaine 02-02-2018 05:26 AM

Quote:

Originally Posted by blade00 (Post 2592464)
now I changed it again to http as the forum is blocked when I put https addresses...

if that you could not successfully install SSL on your hosting and your forum is not complete running with SSL, you need to check if SSL is enabled on your hosting or not.

blade00 02-02-2018 03:47 PM

SSL are actived on my hosting, the fact is that the hoster says It's a vbulletin issue, and Vbulletin support says It's an hosting issue. Https works on the all site but the login box doesn't work...

In Omnibus 02-02-2018 04:10 PM

Quote:

Originally Posted by blade00 (Post 2592631)
SSL are actived on my hosting, the fact is that the hoster says It's a vbulletin issue, and Vbulletin support says It's an hosting issue. Https works on the all site but the login box doesn't work...

What do you mean by "doesn't work?"

Is it redirecting you? Is it causing a white page? Is it giving an invalid login message?

It sounds to me like your .htaccess files are conflicting.

Delete all of them and reinstall only the one included with vBulletin.

blade00 02-02-2018 04:17 PM

on the first post of this discussion you can find attached the error I get, thank you

--------------- Added [DATE]1517596148[/DATE] at [TIME]1517596148[/TIME] ---------------

this address: https://www.fiattipoclub.it/auth/log...RpcG9jbHViLml0
works when I have redirect disabled and http enabled. It doesn't work If I activate the redirect to https and I change urls by adding "s"


All times are GMT. The time now is 02:53 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02063 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (17)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete