Im currently writing a django website, and ive got a bunch of flatpages that are my basic website. What i want is www.example.com/home to be the main website flatpage, but when people go to www.example.com it redirects to www.example.com/home. Im sure this is a simple thing, i just had trouble coming up with the correct search terms.
A few possible solutions that ive had a look into
- mod_rewrite for apache. Seems a little overkill for this.
- DNS redirect. once again seems ok if going from www.here.com to www.example.com but not for what I want.
- django.contrib.redirects, Seems will do what I want, but again seems like its for some other reason.
- Is there something I can do in my virtual hosts file?
Im running Ubuntu Server 9.04, apache 2.2 and Django 1.1 with wsgi.
Cheers
Mark