Redirecting index.html to root + folder index.html to root folder? (multilingual)

I have example.com page. I want a homepage without index.html (example.com/index.html -> example.com)

RewriteEngine On RewriteRule ^index\.html$   / [R=301,L] RewriteRule ^(.*)/index\.html$   /$  1/ [R=301,L] 

It works but what rule to create for folder /de/ (language)?

Code above in folder /de/ redirects me to example.com (example.com/de/index.html or example.com/de/index -> example.com). Correct link: example.com/de/

How to make a rule for /de/ folder? How to modify rule?

Expected effect

example.com/index.html example.com/index -> example.com example.com/de/index.html example.com/de/index -> example.com/de/ 

Is pinning global root CA almost same as not having any certificate pinning at all?

I have seen multiple mobile applications that are pinning Global Root CA’s instead of intermediate/leaf certificates. Doesn’t this expose to the same risk as not having certificate pinning at all?

Considering the classic coffee shop attack scenario where the owner of the network has a certificate issued for his domain (*.evilcoffee.com signed by DigiCert)

Now if the mobile application is trusting any certificate issued by Digicert then you can effectively MiTM? Am I missing something?

Hurry Up!US VPS Hosting start from $14.99 p/m|full root access|free RDNS|-Hostpoco.co

Hostpoco have built an affordable and cheaper Openvz based vps hosting plans that you can rely on. We’re deploying premium Intel Xeon servers with full-SSD / HDD storage in premium data centers connected to redundant Tier 1 internet providers. Our fast servers come with a 24/7 super-fast technical support service. Also all our vps hosting plans comes with full root access, dedicated IP, free RDNS and free re-installations. Just Sign up and be online within Hour with our instant & free setup!.

VPS Startup plan and Feature:

~1024 MB Memory
~VPS Type OpenVZ
~30 GB Raid 10 Storage
~2 TB Monthly Traffic
~1 IPv4 included (all ports open)
~cPanel/whm License $14 /month
~DirectAdmin license $8 /month
~Additional IP address $2.50 /month/IP
~Free Setup
~99 % Uptime Guarantee
~24/7 Live Support
~Root / SSH Access

For more Details:https://hostpoco.com/cheap-us-vps-hosting.php

Thank you.

[Hostpoco.com]-Low cost Dedicated Server @ $80 p/m ! full root SSH ! Unlimited domain

Hostpoco offers you the Low cost Dedicated Server Plans from $80 p/m with many featurs like Complete Root Access ,24×7 Rescue System,Premium Bandwidth,full root SSH and Unlimited domains.

If you need full authority and extensive control over your business environment and business sites then Dedicated servers is the most suitable option for you. Our dedicated servers not only provide full root SSH access but also enable you to host unlimited domains and install the application which you needs, you can resell hosting to provide you the convenience and independence of a dedicated server. Apache, PHP, Perl and MySQL are pre-installed for all dedicated Servers. To facilitate further simpler and quicker administration you can go for cPanel/WHM control panel for your server.

Plan:
============================================

*Dedi startup $80 /Monthly

*Dedi Pro $85 /Monthly

*Dedi Premium $95 /Monthly

*Dedi Elite $110 /Monthly

============================================

For more details: https://hostpoco.com/low-cost-dedicated-server.php#

Hostpoco.com: Cheap dedicated servers | low cost dedicated servers | low cost servers | monthly billing servers | cheap cost servers | unmanaged dedicated servers | free IP servers.

Thank you.

How to find SSL root cert that made connection to the database in PostgreSQL?

When we connect to postgreSQL via ssl-mode=verify-full how will I make sure if the certificate I passed is used while making the connection?

With ssl_is_used(); shows only true or false. Is there any other extension or pg_catalog views that shows the root cert used in making connection to the DB ?

Can you make a device certificate expire after the root certificate?

I have created a CA root certificate and a device certificate to go on my device signed by the CA certificate.

My question is as follows:

Can you make the device certificate last for 30 years, and the root certificate only 20 years, but just create a new root certificate based on the same private key, which would last an additional 20 years?

Would this allow the same old device certificate to continue working with the new root certificate, or would it be rejected?

I appreciate this question might be a bit odd, and if its not clear let me know.

Thanks

My root domain is not resolving to my server, but the www. subdomain works fine

I have the DNS configured like this:

enter image description here

So, my domain example.mx is working as http://www.example.mx. With www there is no problem, but with non-www like http://example.mx it’s not working.

As you can see, my DNS records are pointing in example.mx record to the NS ns1.example.mx. Actually, ns1.example.mx is pointing to my server’s IP.

What could be the problem which is causing http://example.mx not to work while http://www.example.mx does work?

how to construct a tree using root tree’s code?

The Question is if we are given a binary code how construct a tree using that code? There was a question as follows:

By root tree’s 000101001111 code, reconstruct that tree.

and the complete answer: answer

The problem is i could not understand the answer. so could you please guide me or clear up the problem or introduce some refs. (because i could not find any)

Any help will be greatly appreciated.