2011-02-16

davidn: (skull)
2011-02-16 06:48 pm

This is how you do subdomain translation on Apache

RewriteCond %{HTTP_HOST} !^$
RewriteCond %{HTTP_HOST} !^(www\.)?xmstest\.com$ [NC]
RewriteCond %{HTTP_HOST}<->%{REQUEST_URI} ^(www\.)?([^.]+).*<->/([^/]+) [NC]
RewriteCond %2<->%3 !^(.*)<->\1$ [NC]
RewriteRule ^(.+) /%2/$1 [L]


It's as if a fax machine threw up.

Otherwise, I've been on a trip through nostalgia today, because somebody uploaded an increasingly frustrated playthrough of the first Crystal Towers. And this is what his Youtube page looks like.

It's a new experience to see it played for the first time, even if it's looking extremely ropey these days.