Category: Apache

Setting up Collabora CODE with NextCloud using Apache reverse proxy on Debian 8 Jessie

Setting up Collabora Online Development Edition (CODE) can be a little tricky. This guide shows the steps needed to get Collabora CODE working using an Apache 2.2 reverse proxy on Debian 8 Jessie. The steps we are going to have a look at are as follows: Setup Apache reverse proxy Setup Collabora CODE based on […]

Magento Error ESI processing not enabled

In a recent Magento setup with a Varnish caching server an undefined PHP variable in a template resulted in the error message “ESI processing not enabled“. Due to the undefined PHP variable the underlying Varnish caching server’s Edge-side includes (ESI) capabilities, allowing content assembly by HTTP surrogates through in-markup XML-based language failed. After a quick […]

Enabling Cross-Origin Resource Sharing CORS for Apache

When trying to share resources across different domains ( vs. you will come across the concept of Cross-Origin Resource Sharing (CORS). In order to be able to share resources across different domains you will most likely need to enable to CORS manually on your server. For instance, when a script on tries to […]

Custom WordPress Permalinks Are Causing 403 or 404 Errors

When settings custom permalink structures in your WordPress settings make sure to either make .htaccess writeable by your webserver so that when saving your custom structure via the backend WordPress will automatically update your .htaccess too or manually edit your .htaccess file with the minimal required mod_rewrite rules as shown below, right after setting your […]

Web Interface for SMS Server Tools 3

I have been using SMS Server Tools 3 (smsd) for numerous projects in the past due to its stability and configurability. Since smsd does not provide a graphical UI out-of-the-box I have decided to develop a web interface for users to be able to manage their SMS data, much like an e-mail application, called SMS […]

Control Zend’s layout rendering and Content-Type specifications

In case you need to return content types other than the one set by server (Apache, etc.) or Zend itself use the following lines to quickly control Zend’s layout rendering and Content-Type specification. This is crucial for instance if your controller is required to return JSON or XML as part of a service request.

Process Apache Environment Variables using PHP

Especially when in comes to switching between different working environments such as development, staging and production Apache’s enviroment variables represent a vital solution. But be advised that they do not work out of the box, as certain preconditions must be met. Enable mod_env First of all, you need to enable mod_env for your Apache setup. […]

Apache und SNI um mehrere SSL-Domains mit einer IP zu betreibenApache and SNI to support multiple vhosts with SSL using a single IP

Thanks to Apache’s SNI (Server Name Indication) it is possible to operate multiple SSL-based domains using a single IP. The following setup assumes you have SNI activated and configured correctly. If not, there exist some really good articles describing the steps to do so. See “Further readings” below. The following example demonstrates how to setup […]