Tag: apache

  • Setting up Wordpress with nginx and FastCGI

    All web site owners should feel a burning need to speed. Studies have shown that viewers waiting more than 2 or 3 seconds for content to load online are likely to leave without allowing the page to fully load. This is particularly bad if you’re trying to run a web site that relies on visitors to generate some kind of income - content is king but speed keeps the king’s coffers flowing.

  • Performance Tuning Apache

    One of my favourite aspects of the cloud is the ease with which we can create new VMs to test our wacky architecture theories. It’s so easy (and cheap!) to spin up a small server cluster for some serious load testing, and then destroy it again when done.

  • Memcached as Session Handler

    By default PHP loads and saves sessions to disk. Disk storage has a few problems:

  • Cheap File Replication: Synchronizing Web Assets with fsniper

    Awhile ago I wrote about how I was using nginx to serve static files rather than letting the more memory-intensive Apache handle the load for files that don’t need its processing capabilities. The basic premise is that nginx is the web-facing daemon and handles static files directly from the file system, while shipping any other request off to Apache on another port.

  • Python file upload

    I recently needed to handle file uploads from a Flash form post using CGI and Python. I made two discoveries:

  • Drupal Stuck at Database Configuration

    When configuring Drupal 6.6 on a Windows XP/Apache/MySQL box, I ran into an issue whereby I would enter the database information on the Database Configuration screen, press the advance button, but be constantly redirected back to the Database Configuration screen.

  • "Connection to Server Reset" when Installing Drupal

    Has anyone else had this issue?

  • Apache: Enabling mod_rewrite on Windows 2003 Server

    Recently I had to set up a Wordpress blog on a Windows 2003 server, which involved installing Apache, PHP and MySQL.  Everything went pretty well - except for the typical PHP.ini problems I shall write about later.

All tags