Check if a website supports HTTP/2

The web is ready to get a whole new protocol! Since about 1997, the web has been mostly powered by HTTP/1.1. Back in the 90’s, the web had other needs than we have today. The new protocl version, HTTP version 2 or in short HTTP/2, has some much needed improvements in terms of speed, reliability … 

 

Solved: Apache webserver unreachable after installing OpenVPN

After installing OpenVPN on a VPS running Linux (i.e. Ubuntu), my website that was hosted on that VPS running Apache webserver was no longer reachable. When I tried to connect to that website, the connection timed out. Apparently, something was messing with the functionality of Apache, which no longer worked properly. Apache was running fine … 

 

Redirect if the URL does not match with .htaccess

This blogpost will briefly explain how you can redirect your website if the domain name does (not) match a certain word or words. For example: you want to redirect old.example.com to new.example.com and of course, because you take SEO into consideration, you want all of your pages to redirect from one domain to the other one … 

 

Find httpd.conf on Apache Linux webserver

The httpd.conf file is a configuration file used by the Apache webserver. It contains information about settings and functions by this webserver. The file can be located in various places; this depends on the version of Apache and/or the operating system used. It can be commonly found here: /etc/httpd/httpd.conf You can then edit this file with … 

 

Install APC on CentOS/Fedore

To install APC, or Alternative PHP Cache, on your CentOS webserver, you should first install its dependencies: Now, install APC with the use of PECL (or PHP Extension Community Library): Now it is installed, we should enable it in our Apache configuration file. To enable it, we edit our php.ini file: We finalize the installation … 

 

Output PHP errors on your pages

To output any PHP errors you might have, simply add the following at the top of your PHP file Or add the following to your php.ini file: This should display the errors. Make sure to restart your webserver; if you have Apache, use: Output PHP errors on your pages was last modified: November 27th, 2014 …