Date: 28-07-07 14:52
This might help.
You can get to this website through http://freebsddiary.org/ and http://www.freebsddiary.org/ but if you use the former, you are directed to the latter. This redirect is accomplished with the following directives in httpd.conf:
Redirect permanent http://www.freebsddiary.org/
Does that give you any ideas? It's not mod_rewrite, but it does what you want.