MyBB Community Forums
HTTPS doesn't load correctly - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: HTTPS doesn't load correctly (/thread-220245.html)



HTTPS doesn't load correctly - dutchfo2o - 2018-10-16

I tried setting up https on my site. If I browse to my forum using http://www.nonewbs.com everything works as it should. If I browse to my forum using https://www.nonewbs.com I get the secure icon in the address bar but all I see on the screen is raw php data. The site doesn't appear to load correctly.


RE: HTTPS doesn't load correctly - Euan T - 2018-10-16

Are you using shared hosting or is this a VPS or other server you've set up yourself? If it's shared hosting, you will need to contact your host.


RE: HTTPS doesn't load correctly - dutchfo2o - 2018-10-16

(2018-10-16, 07:31 PM)Euan T Wrote: Are you using shared hosting or is this a VPS or other server you've set up yourself? If it's shared hosting, you will need to contact your host.

It is an aws server that I control.


RE: HTTPS doesn't load correctly - Euan T - 2018-10-16

(2018-10-16, 08:02 PM)dutchfo2o Wrote:
(2018-10-16, 07:31 PM)Euan T Wrote: Are you using shared hosting or is this a VPS or other server you've set up yourself? If it's shared hosting, you will need to contact your host.

It is an aws server that I control.

Are you using Nginx or Apache? It sounds like there is a difference between the virtual host configuration for the HTTPS version of the site and the standard version, with the HTTPS version not passing the PHP scripts back to PHP (PHP-FPM, PHP in FastCGI mode, or mod_php - depending on setup).


RE: HTTPS doesn't load correctly - dutchfo2o - 2018-10-16

(2018-10-16, 09:27 PM)Euan T Wrote:
(2018-10-16, 08:02 PM)dutchfo2o Wrote:
(2018-10-16, 07:31 PM)Euan T Wrote: Are you using shared hosting or is this a VPS or other server you've set up yourself? If it's shared hosting, you will need to contact your host.

It is an aws server that I control.

Are you using Nginx or Apache? It sounds like there is a difference between the virtual host configuration for the HTTPS version of the site and the standard version, with the HTTPS version not passing the PHP scripts back to PHP (PHP-FPM, PHP in FastCGI mode, or mod_php - depending on setup).

I am currently running apache. I do not have nginx installed.


RE: HTTPS doesn't load correctly - Euan T - 2018-10-17

(2018-10-16, 10:31 PM)dutchfo2o Wrote:
(2018-10-16, 09:27 PM)Euan T Wrote:
(2018-10-16, 08:02 PM)dutchfo2o Wrote:
(2018-10-16, 07:31 PM)Euan T Wrote: Are you using shared hosting or is this a VPS or other server you've set up yourself? If it's shared hosting, you will need to contact your host.

It is an aws server that I control.

Are you using Nginx or Apache? It sounds like there is a difference between the virtual host configuration for the HTTPS version of the site and the standard version, with the HTTPS version not passing the PHP scripts back to PHP (PHP-FPM, PHP in FastCGI mode, or mod_php - depending on setup).

I am currently running apache. I do not have nginx installed.

Make sure you have something like the following in your Apache configuration then:

<FilesMatch \.php$>
  SetHandler application/x-httpd-php
</FilesMatch>

More information is available here, as the settings depend on how you're running PHP: https://wiki.apache.org/httpd/php