The HTTP/2 protocol is faster than HTTP/1.1 because it can handle resource queues and handle them simultaneously. HTTP/2 uses a single TCP connection to send multiple streams of data at once so that one resource does not block another resource. HTTP/2 does this by splitting the data into binary coded messages and numbering these messages so the client knows which stream each binary message belongs to. Whereas HTTP/1.1 loads resource one by one, so if one resource can't be loaded it will block...
Apache
[yii2] Easy way to hide frontend/web and backend/web
20 May 2021
Yii2 provides the default URL with frontend/web and backend/web. In actual web applications, URL displays like this are not attractive, so in this case, we need to remove or conceal the frontend/ web from the URL. There are several ways to do this, in the example below we will do it in a way: Using a virtual host Modify Yii2 1. Virtual host apache To hide the frontend /web and backend/web on apache you can do this by creating a virtual host. Open the apache configuration file...
How to Install Yii2 Advanced via Composer
10 April 2021
The main reason for migrating to Yii2 Advanced Template is for the implementation of user management features such as listing, login, exit, and password reset. Yii2 Advanced Template also has front-end and back-end web applications for end-users and administrators. However, this can also be expanded—for example for dedicated moderators or APIs, although there are other ways to integrate these features in a single app. Here is a chart showing the main differences between Yii2 basic and...
FREE OF CHARGE!!! SSL certificates with Let’s Encrypt and Apache
22 January 2021
Secure Sockets Layer (SSL)is a cryptographic protocol designed to provide the security of communication over a computer network. SSL works by creating an encrypted path between the website and the web browser. The usability of creating SSL for websites not only serves to secure the website from eavesdropping attacks. Encrypted messages will secure the data delivered between the user and the server. In addition, the existence of SSL in your domain greatly facilitates or gives confidence to...
How to Configure XAMPP Virtual Host in Windows 10
20 January 2021
The term Virtual Host refers to the practice of running more than one website (such as example1.com and example2.com) on a single machine. A virtual host can be "IP-based", meaning you have a different IP address for each website, or "name-based", meaning you have multiple names running on each IP address. The fact that they run on the same physical server is invisible to the end-user. Apache was one of the first servers to support IP-based virtual hosts. Apache version 1.1 and later support...