Nginx: redirect a subdomain to a subdirectory without changing the url

We wanted these redirections: project.example.com => www.example.com/project (without changing the url) project.example.com/whatever => www.example.com/whatever (with changing the url) In other words: I wanted a subdomain that was nothing more than…

Read more »

Check if php5-fpm is running

When installing the combo php5-fpm together with Nginx or Apache, you might run into this error: [error] 4942#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1,…

Read more »

Bamboo-invoice: Segmentation fault (11)

This concerns an error in Bamboo-Invoice. When I wanted to print a pdf, I got the following error in Apache: [notice] child pid 16395 exit signal Segmentation fault (11) (16395…

Read more »

Drupal: user suddenly logged out

In case you’ve installed Varnish but not Pressflow (for Drupal 6), following scenario may happen: User A logs is, gets sessionid A User A changes something and loads a new…

Read more »

bambooinvoice on nginx

Bambooinvoice is supposed to work with Apache, althoug it can also run on nginx. These are the rewriterules: location @rewrite { rewrite ^/index.php/(.*)$ /index.php?$1; }

Read more »

How to speed up Drupal

Let’s face it: Drupal can be a snail. When you attract lots of visitors, or have a lot of content, you performance will go down. To speed up Drupal, you…

Read more »

Install Varnish (with Drupal and Nginx)

This articles covers the installation and configuration of Nginx+Varnish+Drupal6(Pressflow) and also about the Purge module. This article assumes: you are no Drupal newbie you know about the default Drupal caching…

Read more »