Sometimes its the simplest things that trip me up.
I have an application running on App Engine that utilizes subdomains. I'd like to redirect to different HTML pages depending on weather a subdomain is being used or not.
For example, if a user tries to sign up for a new account through a subdomain, this doesn't make a whole lot of sense, so I'd like to redirect to the signup page on the promary domain:
user_subdomain.main_domain.com/signup_for_new_account.html ----redirect to--> main_domain.com/signup_for_new_account.html