• 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
Re: Wonder, mod_rewrite and subdomains
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wonder, mod_rewrite and subdomains


  • Subject: Re: Wonder, mod_rewrite and subdomains
  • From: Jesse Tayler <email@hidden>
  • Date: Wed, 21 Mar 2012 16:27:34 -0400

Sure,

Use apache to redirect based on subdomains or reverse by sending a domain ID like you have and setting you app page wrapper or whatever else to the domain

In the past I used D2W rules based on the domain that changed logic within the same app etc. which is what I think you are describing.



Sent from my iPad

On Mar 21, 2012, at 3:08 PM, Benjamin Chew <email@hidden> wrote:

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: Benjamin Chew <email@hidden>
References: 
 >Wonder, mod_rewrite and subdomains (From: Benjamin Chew <email@hidden>)

  • Prev by Date: Re: NavigationController Problem: ERModernD2W
  • Next by Date: Re: Community Roadmap for 2012
  • Previous by thread: Wonder, mod_rewrite and subdomains
  • Next by thread: Re: Wonder, mod_rewrite and subdomains
  • Index(es):
    • Date
    • Thread