Let’s say you need to configure mTLS for communication between two servers, for example, for requests from a website to an API server.
Continue reading “How to set up mTLS”Category Archives: Web server
Setting up open_basedir
I strongly recommend configuring the open_basedir parameter, which lists directories beyond which PHP scripts cannot traverse, as open_basedir is not specified by default.
If open_basedir is not specified on the web server, then, for example, Path Traversal vulnerabilities can lead to access to all files on the server that have “read by others” permissions, such as /etc/, /var/, and other directories.
How to add a Favicon in phpBB
I was once asked to add a Favicon icon to phpBB so that it would be displayed in search engines and would look better, I will show you how to do it.
Continue reading “How to add a Favicon in phpBB”phpBB. How to remove all IP addresses from banlist
One day I needed to clear all IP addresses and subnets from the banlist, and there were about 20,000 of them, so I decided to run an SQL query.
Continue reading “phpBB. How to remove all IP addresses from banlist”WordPress. There has been a critical error on your website
Once on one of the sites auto-update of plugins was enabled, and after automatic Jetpack update, the site stopped working and an error was displayed:
Continue reading “WordPress. There has been a critical error on your website”How I upgraded phpBB 3.3.5 to 3.3.9
I recently updated the phpBB 3.3.5 forum to version 3.3.9 on a server with Ubuntu Server, I will describe the upgrade process.
Continue reading “How I upgraded phpBB 3.3.5 to 3.3.9”How to update phpBB 3.3.4 to 3.3.5
I will perform a standard phpBB upgrade, this time from version 3.3.4 to 3.3.5.
Continue reading “How to update phpBB 3.3.4 to 3.3.5”How to upgrade phpBB 3.3.3 to 3.3.4
For example, I will update phpBB version 3.3.3 to 3.3.4.
Continue reading “How to upgrade phpBB 3.3.3 to 3.3.4”Configuring OCSP Stapling
OCSP is a protocol for checking the validity of certificates, that is, to make sure that they have not been revoked and whether they were actually issued. Enabling OCSP Stapling on the web server side allows you to increase the speed of site opening, since the request to the certification authority is made not by the browser, but by the web server.
Continue reading “Configuring OCSP Stapling”Solution “load cannot follow 20 redirections”
Once I edited a lot of .htaccess files and noticed that one page stopped opening, and the logs had a message:
Continue reading “Solution “load cannot follow 20 redirections””