Category Archives: Web technologies

Reverse proxy with exception for Let’s Encrypt

With many services running in their own container or with their own daemon, the use of reverse proxies is getting more common, and at the same time, the use of SSL/TLS has become a standard. Let’s Encrypt is a provider … Continue reading

Posted in Encryption, Web technologies | Tagged , , , | Comments Off on Reverse proxy with exception for Let’s Encrypt

Download a complete website using wget

In some rare cases you might run into the need to download a complete website onto your local machine for offline usage. There are many GUI tools to do this with loads of options. But did you know that you … Continue reading

Posted in Linux Administration, Web technologies | Tagged , | Comments Off on Download a complete website using wget

Check Certificate Chain of webserver

Changing the certificate of a webserver sometimes means also changing the intermediate certificate(s). After reloading the webserver, checking that the certificates are ok is important. Checking the webserver’s own certificate is not a problem, but checking the intermediate chain is … Continue reading

Posted in Encryption, Web technologies | Comments Off on Check Certificate Chain of webserver

Apache document root in users home directory with SELinux

Serving web-content from a user’s home directory allows the user to conveniently upload files. By default, the apache configuration in many Linux distributions assumes content is uploaded to a single directory owned by the webserver’s user, but it might be … Continue reading

Posted in Security, Web technologies | Tagged , , , | Comments Off on Apache document root in users home directory with SELinux

Update to PHP 5.6 on CentOS 6 using remi repository

With CentOS being a conservative distribution, security patches are still applied to CentOS 6, but no new versions are available. When running some websites – like Virtualmin – on CentOS 6, the old PHP version 5.3.3 can cause problems. Updating to a newer … Continue reading

Posted in PHP, Web technologies | Tagged , , | Comments Off on Update to PHP 5.6 on CentOS 6 using remi repository

Certificate Transparency and unauthorized certificates

I own a domain which was bought a few months back which is managed by CloudFlare’s service in DNS-only mode. As I intended to only use CloudFlare’s DNS service, I disabled every option except the DNS related features. You can imagin the surprise to see certificates issued for my domain without my knowledge. Continue reading

Posted in Security, Web technologies | Tagged , , , , , | 1 Comment

My HTML-form mysteriously stopped working, why?

Nobody changed it, why is it not working anymore? You can imagine the confusion after checking the version control and the files which where unchanged since the time the website was finished (lets say about 4 years). Continue reading

Posted in PHP, Web technologies | Tagged , , | Comments Off on My HTML-form mysteriously stopped working, why?

What version of Firefox is this user agent string?

Is it really a Firefox browser? When I was first shown the user agent string below and asked ‘what version of Firefox is this?’ At first I took this at face value, it’s obviously a Firefox browser, it says “Mozilla” right there, right? Digging a little deeper, it turned out not only was this wrong, but the question was wrong as well! …
Continue reading

Posted in Web technologies | Tagged , | Comments Off on What version of Firefox is this user agent string?