I'm writing a web application in web.py and I am looking for an example configuration that would allow me to redirect sub domains to a specific url in my application. For example I need tim.mydomain.com to redirect to the url "/profile/tim", john.mydomain.com to redirect to the url "/profile/john", etc. I looked at the documentation and the virtual host thing seems nice but I need to be able to have users generate these sub domains on the fly.
I was looking at redirection and it seems like it may be what I'm looking for but I can't seem to figure out how to achieve this. If anyone can give me a pointer it would be greatly appreciated. ------- Read this topic online here: http://www.cherokee-project.com/forum/viewtopic.php?p=193#193 -------
_______________________________________________ Cherokee mailing list [email protected] http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee
