• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Need help with SSL, weird error in XenForo.

Yashjeet

Active member
#1
Hey,
I recently decided to use Universal SSL, I'm using the free version that's on CloudFlare.
One issue, is that when I go onto my website (https://www.fa-mc.com) it is very weird looking, here's a picture:
http://prntscr.com/5317wr
I cannot find a way to fix this, here is my .htaccess
http://hastebin.com/muvofipifa.apache

Any clues? I'm using CloudFlare for my domain, and CentOS for my VPS, and Apache for the webserver, and MySQL for the database.
 

Mike

XenForo developer
Staff member
#5
Ideally, you need to use HTTPS between CloudFlare and your site as well. (For one, only SSL between the client and CloudFlare isn't really meeting the whole point of SSL.) Since CloudFlare is requesting your site without HTTPS, XenForo is reacting as such.
 

Yashjeet

Active member
#6
Ideally, you need to use HTTPS between CloudFlare and your site as well. (For one, only SSL between the client and CloudFlare isn't really meeting the whole point of SSL.) Since CloudFlare is requesting your site without HTTPS, XenForo is reacting as such.
Ah ok, but I just want my server members (they're at the ages of 8-16) and they wouldn't know what this is.
I would just love https:// to be green, right now look at these:
http://prntscr.com/533shy
http://prntscr.com/533tce
http://prntscr.com/533uka

Is there any option in XenForo that'll not react to the HTTPS?
 

Yashjeet

Active member
#8
Okay, well you fixed all the problems, but now there's another problem.
I added
$_SERVER['HTTPS'] = 'on';
to my .htaccess, and now my site is having this error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Apache/2.2.15 (CentOS) Server at www.fa-mc.com Port 80

Please note I'm running a dedicated server to host this website, and I need to fix whatever happens, not my host!