Category Archives: Web technologies

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?