No more ~jono
July 11th, 2006
I finally got rid of the cute but silly splash page that used to be at https://jono.redowl.ca. (a copy now lives here) Now my site (that you’re reading right now) takes center stage, so you don’t need to use the ~jono in the URL anymore – it will still work for a at least a while, probably a long while. Ideally, I’d like to stick in a redirect so that anyone using the old URL will automatically get forwarded to the new one, but I haven’t managed to get it to work yet. If anyone has any suggestions, please let me know!
I’m sad to see that image and text vanish though… I’m considering attempting to redesign this site using at least the image, and some red stuff. It is called redowl after all! But I hate white on black text now, so I’ll have to fiddle around.. it’ll be a big job, in any case! We’ll see if it happens.
Update: redirects are working now! I was confused about a few things: first of all, the RewriteBase
refers to the directory on disk, not the location visible to http. Also, for the same reason, the option needs to go in a Location
directive, not in a Directory
directive, since I only want to do any rewriting when the /home/jono/public_html
dir is accessed via /~jono
, but not when it’s accessed via /
. In the end, setting RewriteBase /
and then making the RewriteRule change the whole directory name worked – RewriteRule /home/jono/public_html/(.*) /$1 [R]
. All makes sense now that I understand how it works. In related news, the pretty permalinks in wordpress are more trouble than they’re worth, since they wreck any relative links in all blog posts. Messy.
Also, rather than moving DocumentRoot
to /home/jono/public_html
, I left it at /var/www
but moved the contents of it into /home/jono/public_html
and then made /var/www
into a symlink pointing to the other dir. That way debian packages and other programs that expect /var/www
to exist and be the DocumentRoot won’t get too confused – they can just dump their files into my home dir via the symlink instead. Hopefully the permissions won’t cause any trouble.