• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Wonder, mod_rewrite and subdomains
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Wonder, mod_rewrite and subdomains


  • Subject: Wonder, mod_rewrite and subdomains
  • From: Benjamin Chew <email@hidden>
  • Date: Wed, 21 Mar 2012 12:08:09 -0700

Hi guys,

I have a request from marketing to redirect to a specific sub-domain based on a parameter, and I wondering if you guys had encountered something like this before.

For example, apple.com has some subdomains:
http://store.apple.com
http://support.apple.com

I imagine these are actually different apps in Apple's case, but is there a way to do this in one app based on a parameter?

For example, 

http://store.apple.com/us/wa/product?id=newipad
would be rewritten as 
http://www.apple.com/us/wa/product?domain=store&id=newipad

http://support.apple.com/us/wa/article?id=retinadisplay
would be rewritten as 
http://www.apple.com/us/wa/article?domain=support&id=retinadisplay

Thanks in advance, 
Ben
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Wonder, mod_rewrite and subdomains
      • From: Jesse Tayler <email@hidden>
  • Prev by Date: Re: ERXFetchSpecificationBatchIterator
  • Next by Date: Re: NavigationController Problem: ERModernD2W
  • Previous by thread: Ideas on Google Moderator
  • Next by thread: Re: Wonder, mod_rewrite and subdomains
  • Index(es):
    • Date
    • Thread