• 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: URL re-writing at the root of the domain
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: URL re-writing at the root of the domain


  • Subject: Re: URL re-writing at the root of the domain
  • From: Paul Hoadley <email@hidden>
  • Date: Thu, 10 Jan 2013 16:51:35 +1030

Hi George,

On 10/01/2013, at 3:45 PM, George Domurot <email@hidden> wrote:

This line doesn't look right:
RewriteRule ^/(.*)$ /Apps/WebObjects/SomeApp.woa$1 [PT,L]

Shouldn't it include a slash before "$1"?
RewriteRule ^/(.*)$ /Apps/WebObjects/SomeApp.woa/$1 [PT,L]

I haven't tried it, but it should work.

Well spotted, you're completely right.  (Testing didn't get far enough to expose this bug, as I can't log in yet.)

If the URLs then work, but not once you're in the app, then you'll want to dig into the auto rewrite are of Wonder and see what it's doing when the replace is only equal to "/".

Yeah, that's next up.  Has anyone done this?  Is anyone deploying an app at the apex of some domain name like this?


-- 
Paul Hoadley
http://logicsquad.net/



 _______________________________________________
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: URL re-writing at the root of the domain
      • From: Ted Archibald <email@hidden>
References: 
 >URL re-writing at the root of the domain (From: Paul Hoadley <email@hidden>)
 >Re: URL re-writing at the root of the domain (From: George Domurot <email@hidden>)

  • Prev by Date: Re: URL re-writing at the root of the domain
  • Next by Date: Apache ErrorDocument and the query string
  • Previous by thread: Re: URL re-writing at the root of the domain
  • Next by thread: Re: URL re-writing at the root of the domain
  • Index(es):
    • Date
    • Thread