Jump to content

http to http2

Featured Replies

Posted

how to properly redirect from http to http2

You don't need to, if your server is configured for http2 and you're using https, then capable browsers will use it.

  • Author

My server is configured but not redirected to http2  :(

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

  • Author

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 

Certificate? Are you sure you are talking about http2 and not https?

  • Author

yes https

to use the certificate  :unsure:

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?

 

@The Old Man, as we figured out he wants to enable https, not http2.

Ah, I no worries! :)

  • Author

I want to redirect to https

wwwww.png.be3bbaa78776c21b1705bf3b0e99daa9.png

 

ssss.png.29d97b10f3d85a0414cfdef3c58d3fd8.png

As i see you already do it ;)

Screenshot_3.png.e8c4227129cd7deafe27261b3869825b.png

  • Author

Yes, but it leaves when I am disconnected and when I connect with user disappears is normal

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. 
             

  • Author

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  :(

Looks fine to me. I tested the pages accessible to guests and there is a proper forwarding to https. 

  • Author

But connected does not come out  :(

ssss.png.29d97b10f3d85a0414cfdef3c58d3fd

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. 

  • Author

as a guest if it is safe.

when login is removed

why can it be ?

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.

  • Author

And what can I do to solve it?

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. 

  • Author

They were indeed images. :)

It's solved, thank you very much.

  • Author
 

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

  • Author

what is the source code for editing?

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.