sonimik1 Posted September 28, 2017 Posted September 28, 2017 how to properly redirect from http to http2
Dll Posted September 28, 2017 Posted September 28, 2017 You don't need to, if your server is configured for http2 and you're using https, then capable browsers will use it.
sonimik1 Posted September 28, 2017 Author Posted September 28, 2017 My server is configured but not redirected to http2
opentype Posted September 28, 2017 Posted September 28, 2017 It’s not a redirection. It’s a different way of sending the data. There are lots of online test services to check the http2 delivery for your site, e.g. https://tools.keycdn.com/http2-test
sonimik1 Posted September 28, 2017 Author Posted September 28, 2017 Negative! www.usenethd.li does not support HTTP/2.0 The support of my server affirms that it has support and the certificate is installed. It may be cause of ? .htaccess
opentype Posted September 28, 2017 Posted September 28, 2017 Certificate? Are you sure you are talking about http2 and not https?
The Old Man Posted September 28, 2017 Posted September 28, 2017 Hi @sonimik1 For info, I used the link Opentype kindly provided above to check my server (which has free Lets Encrypt SSL Certificates handled by AutoSSL in WHM) and it confirmed http2 wasn't available too. It seems I didn't have the mod_http2 package installed in my current Apache build, so I just added it to the Currently Installed Packages via Easy Apache 4 using the Customize option. It took about 30 seconds so I retested via the checker and now it's green and available, ALPN too. Not sure if you're on Apache but worth a check in case it's the same problem?
Ilya Hoilik Posted September 28, 2017 Posted September 28, 2017 @The Old Man, as we figured out he wants to enable https, not http2.
sonimik1 Posted September 29, 2017 Author Posted September 29, 2017 Yes, but it leaves when I am disconnected and when I connect with user disappears is normal
marklcfc Posted September 29, 2017 Posted September 29, 2017 I asked my hosts about this the other week and was told this, any thoughts? cPanel has implemented http2 support very recently in one of the latest updates however its not compatible with mod_mpm_prefork - This is a module you are currently using as it gives some significant speed improvements vs the other apache MPM. There is one warning i notice in the apache documentation on this "Enabling HTTP/2 on your Apache Server has impact on the resource consumption and if you have a busy site, you may need to consider carefully the implications." This means your website could have boosts at low users however if your website gets busy your server won't be able to handle as many connections as it currently can.
sonimik1 Posted October 1, 2017 Author Posted October 1, 2017 When I am disconnected from the web it comes out as it is safe. but if I connect it comes out as not safe. there is something I lack but I do not know what it is
opentype Posted October 1, 2017 Posted October 1, 2017 Looks fine to me. I tested the pages accessible to guests and there is a proper forwarding to https.
opentype Posted October 1, 2017 Posted October 1, 2017 It does work for me and probably everyone else accessing the site as guest – I tested it with https://www.whynopadlock.com/. Are you logged in? Maybe there is additional unsecure stuff showing for your account in that case.
sonimik1 Posted October 1, 2017 Author Posted October 1, 2017 as a guest if it is safe. when login is removed why can it be ?
opentype Posted October 1, 2017 Posted October 1, 2017 I told you. There might be additional content shown (like images) which is served over http. I don’t see this content as guest, so I can’t identify it.
opentype Posted October 1, 2017 Posted October 1, 2017 Open the source code of the page that is generated for you as a logged in user. Search for content (images, CSS, JavaScript …) that is loaded via “http://usenet…” not “https://usenet…”. Find out why they are loaded this way and change it to https.
sonimik1 Posted October 1, 2017 Author Posted October 1, 2017 They were indeed images. It's solved, thank you very much.
sonimik1 Posted October 1, 2017 Author Posted October 1, 2017 4 hours ago, opentype said: Open the source code of the page that is generated for you as a logged in user. Search for content (images, CSS, JavaScript …) that is loaded via “http://usenet…” not “https://usenet…”. Find out why they are loaded this way and change it to https. one more thing. I can not do it with all the images can you explain this with more details please
Recommended Posts
Archived
This topic is now archived and is closed to further replies.