Month: August 2015

  • How to install just ab (apachebench) on Debian or Ubuntu

    Running nginx (or lighttpd, or any other web server) but still want to make use of Apache’s useful ab (apachebench) benchmarking tool?   apt-get install apache2-utils   …should do it.

  • Upload error 413 “Request Entity Too Large” on Nginx

    When trying to upload files to a Drupal installation running on nginx, we got a 413 error: Request Entity too large.   We had gone through and updated the php files with regard to max upload file size limits, but had neglected to do the same to the nginx config file (/etc/nginx/nginx.conf on Debian). We…

  • Securing Dokuwiki with nginx

    After migrating a server from Apache2.4 to nginx a Dokuwiki install was complaining about the following on the admin page:   Previously .htaccess files were controlling access, which aren’t used by nginx. You can test your Dokuwiki install’s access by attempting to visit the following url:   http://yourserver.com/data/pages/wiki/dokuwiki.txt   If you can see any content…

  • Drupal 7 – Two administrative menus after module installed

    In Drupal 7 when trying to use the module “Administration Menu” (quite a handy module) after enabling it we ended up with two menus or toolbars: The fix for this is to disable the existing “Toolbar” module – this should remove the original toolbar and leave you with just the new Administration Menu menu/toolbar.

  • Drupal 7 – “Manage fields” missing from Content Type admin page

    When trying to add file uploads to the “page” content type creation, we found that the Manage Fields section was missing (Structure -> Content Types).   In this case it turned out that the module Field UI had been disabled; re-enabling that module brought the Manage Fields option back.