sonimik1 Posted September 28, 2017 Share Posted September 28, 2017 how to properly redirect from http to http2 Link to comment Share on other sites More sharing options...
Dll Posted September 28, 2017 Share 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. Link to comment Share on other sites More sharing options...
sonimik1 Posted September 28, 2017 Author Share Posted September 28, 2017 My server is configured but not redirected to http2 Link to comment Share on other sites More sharing options...
opentype Posted September 28, 2017 Share 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 Link to comment Share on other sites More sharing options...
sonimik1 Posted September 28, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
opentype Posted September 28, 2017 Share Posted September 28, 2017 Certificate? Are you sure you are talking about http2 and not https? Link to comment Share on other sites More sharing options...
sonimik1 Posted September 28, 2017 Author Share Posted September 28, 2017 yes https to use the certificate Link to comment Share on other sites More sharing options...
The Old Man Posted September 28, 2017 Share 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? Link to comment Share on other sites More sharing options...
Ilya Hoilik Posted September 28, 2017 Share Posted September 28, 2017 @The Old Man, as we figured out he wants to enable https, not http2. Link to comment Share on other sites More sharing options...
The Old Man Posted September 28, 2017 Share Posted September 28, 2017 Ah, I no worries! Link to comment Share on other sites More sharing options...
sonimik1 Posted September 29, 2017 Author Share Posted September 29, 2017 I want to redirect to https Link to comment Share on other sites More sharing options...
Numbered Posted September 29, 2017 Share Posted September 29, 2017 As i see you already do it Link to comment Share on other sites More sharing options...
sonimik1 Posted September 29, 2017 Author Share Posted September 29, 2017 Yes, but it leaves when I am disconnected and when I connect with user disappears is normal Link to comment Share on other sites More sharing options...
marklcfc Posted September 29, 2017 Share 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. Link to comment Share on other sites More sharing options...
sonimik1 Posted October 1, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
opentype Posted October 1, 2017 Share Posted October 1, 2017 Looks fine to me. I tested the pages accessible to guests and there is a proper forwarding to https. Link to comment Share on other sites More sharing options...
sonimik1 Posted October 1, 2017 Author Share Posted October 1, 2017 But connected does not come out Link to comment Share on other sites More sharing options...
opentype Posted October 1, 2017 Share 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. Link to comment Share on other sites More sharing options...
sonimik1 Posted October 1, 2017 Author Share Posted October 1, 2017 as a guest if it is safe. when login is removed why can it be ? Link to comment Share on other sites More sharing options...
opentype Posted October 1, 2017 Share 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. Link to comment Share on other sites More sharing options...
sonimik1 Posted October 1, 2017 Author Share Posted October 1, 2017 And what can I do to solve it? Link to comment Share on other sites More sharing options...
opentype Posted October 1, 2017 Share 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. Link to comment Share on other sites More sharing options...
sonimik1 Posted October 1, 2017 Author Share Posted October 1, 2017 They were indeed images. It's solved, thank you very much. Link to comment Share on other sites More sharing options...
sonimik1 Posted October 1, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
sonimik1 Posted October 1, 2017 Author Share Posted October 1, 2017 what is the source code for editing? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.