# Tag: Apache

## Disabling debug for mod wsgi

For the record, when deploying mod wsgi apps, remember to enable optimizations in mod_wsgi.conf. Otherwise debug will be true.

## Generating a self-signed SSL certificate

 openssl req -nodes -newkey rsa:2048 -keyout server.key -out server.csr openssl x509 -req -days 3650 -in server.csr -signkey server.key -out server.crt  Read More »

## MediaWiki thumb.php and rewrite rules

May, last year, I created an empty draft for this post, because, around that time, I had gone through quite some effort before I got thumbnails for foreign file repos working just right. Now, I'm taking a dive into my MediaWiki working dirs in preparation of the creation of a separate development environment, so it's a good moment to rehash the past experience (almost as good as when I'd have done it right away). Read More »

## Preventing NameVirtualHost *:80 has no VirtualHosts

I often get the "NameVirtualHost *:80 has no VirtualHosts" on my webservers. It seems that every version of every distro has different requirements. My existing Debian config was fine, until I upgraded to Lenny. With fiddling, I determined the solution: Read More »

## www.stichting-ecosafe.org

Stichting EcoSafe is a Dutch foundation for the safe-keeping of the funds that are necessary for the maintenance of hardwood plantations. In July of 2006, together with Johan Ockels, I created a website for the Foundation. Johan was responsible for the organization of the whole process. This went very smooth and the website ended up being an emblem of simplicity and clarity. That's why I wanted to blog a bit about it now, even though there are a few things that I'd probably end up doing different if I were to start from scratch. [There's actually a disturbing number of things for which this is true, I'm coming to notice.] Read More »

## Enforcing Drupal URL aliases

I hate modules, especially core modules. I prefer code to be tightly integrated. I want it to work together. Is that too much to ask? In Drupal, most functionality has been stuffed in modules. There's a Locale module, a Content Translation module and a Path module. What's missing is a Working Together module. Read More »

## Untangling WordPress’ core files from your local customizations

Since version 2.6, WordPress can be installed in its own directory, separate from your customizations and everthing. Needless to say, this makes upgrading a whole lot easier. Read More »

## Separate development/production environments for WordPress

When you're out Googling on how to maintain a separate development environment for a WordPress installation, you will only stumble across information about how to install all kinds of WAMPP packages. Well, I don't care about WAMP (or WAMPP). I want to be able to edit my theme, change my plugins, mess with my database locally and then deploy my changes when they're ready and well-tested (as if I ever...) Read More »

## Apache’s ForceType directive overrides AddCharset directives

Yesterday, after uploading a refreshed www.sicirec.org, some character encoding issues popped up because I had converted the website's content from ISO-8859-1 (Latin 1) to UTF-8. (I wanted to be able to type and paste special characters from PuTTY into VIM without worrying about the particular encoding of each file.) Read More »