Blog Archives

DNS Search Domains

When using Viscosity on OS X with DNS support enabled and search domains being pushed to the client, OS X tends to fail to append the search domain onto your queries. The easy fix is to edit /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist Change to

Tagged with: , ,
Posted in OS X

Keepalived: config file include example

Short example of using the include directive in keepalived.conf

Tagged with: ,
Posted in Keepalived

Sendmail: Delete deferred emails

removeDeferred.sh

Tagged with: , , , ,
Posted in GNU/Linux

NFS: server address does not match proto= option

Problem: Solution:

Tagged with: ,
Posted in NFS

Google Tip: Find your ip

If you google for “what is my ip” or just “my ip” google will tell your your ip! Of course you can also use my utility in bash scripts or similar.

Tagged with:
Posted in Google

mod_rewrite rules to force SSL or disable SSL

Tagged with: ,
Posted in Apache

mod_rewrite rules for subdomain remapping

Tagged with: ,
Posted in Apache

mod_rewrite a subdomain to a subdirectory

Tagged with: ,
Posted in Apache

mod_rewrite a domain to www.domain

Tagged with: ,
Posted in Apache

Setting a default character set

One of the biggest things people overlook when setting up utf-8 pages is the default character set that is sent vis http headers. It has been shown to be a performance boost to boot. My favorite way is setting the

Tagged with:
Posted in Apache