A Proper Redirection, Oh The Memories!
Tuesday, April 18th, 2006So, I learned just enough about Apache’s mod_alias and mod_rewrite to be able to redirect URLs under my domains just about wherever I want, and keep the web browser back button functioning properly. This comes in handy especially when content has been moved from one location to another and you don’t want any links that may exist to become broken. It also comes in handy when you’re picky, like me, and want to force people to view your site(s) as http://www.foo.bar and not http://foo.bar alone
, and when you’ve purchased multiple domains and want the old to forward to the new without any confusion.
Here are a couple examples of Apache and its redirection features at work (pay very close attention to your address bar):
http://hhsn.net/blog/
http://mn12.us/tech/air_silencer/index.htm
Go ahead, try out your browser back button. Now that’s a perfect redirection
.
Also, I ran across an old website of mine. Anybody remember good ‘ol Hoppeville? Apparently, Tripod hasn’t deleted it yet. I was a bit shocked, especially since I haven’t touched it since 2003. I’m sure any day now it’s going to go away, so to preserve my web roots, I did a wget -m on it, and placed it here where it will remain forever, untouched.
Hoppeville, the website that sparked my web development and interest in servers, has brought back many many memories. I began to reminisce, and am amazed as how much I’ve learned–about computers, about cars, about everything. I am utterly amazed. It’s also a reminder on how fast time goes by. It seems that I last changed Hoppeville a few weeks ago. In reality, it’s been years.
Oh, the memories!


