Increasing web server timeout

If your website is based on PHP and is being served by Apache web server with Nginx as reverse proxy, then you may have experienced 504 Gateway Timeout errors. The error usually happens because some PHP script takes longer than usual to run.

Read

Publishing websites using Jekyll

Jekyll is a static site generator. It generates static HTML pages from content written in Mark Down or HTML. Its different from other website publishing tools in that it does not use a database.

Read

Getting /etc/rc.local file to work on Debian 9 (Stretch)

Debian Stretch uses the rc.local service for executing commands on system startup. To use this service we need to run the following commands:

Read

Making HTTP POST requests from Google Chrome

The Google Chrome developers toolbox is a useful tool that can be used to test HTTP POST requests. For example we may want to replay HTTP requests for testing APIS or debugging web pages.

Read

Using substr_compare function to find out if a file exists in a folder

The substr_compare function is a useful function that can be used to check if a given string occurs at the end of a larger string.

Read