• 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
Pattern and Replace for Application URL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Pattern and Replace for Application URL


  • Subject: Pattern and Replace for Application URL
  • From: Farrukh Ijaz <email@hidden>
  • Date: Fri, 25 Jun 2010 15:44:21 +0300

Hi,

RewriteRule /AppShortName(.*) /Application/WebObjects/Application.woa$1 [L, PT, QSA]

When I access the application using /AppShortName in the browser, /AppShortName remains in the browser url address bar. However the generated response source code contains links with /Application/WebObjects/Application.woa. So if I click any link it changes the URL in the browser from /AppShortName to /Application/WebObjects/Application.woa

How can I make my application to replace the /Application/WebObjects/Applicaation.woa to /Application ?

I looked into the following properties:

er.extensions.ERXApplication.replaceApplicationPath.pattern=/Application/WebObjects/Application.woa
er.extensions.ERXApplication.replaceApplicationPath.replace=/AppShortName

But the above works only if the pattern is /cgi-bin/WebObjects/Application.woa.

Any ideas?

Farrukh
 _______________________________________________
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: Pattern and Replace for Application URL
      • From: Kieran Kelleher <email@hidden>
  • Prev by Date: Re: Optimistic locking failure due to string trimming?
  • Next by Date: Re: Pattern and Replace for Application URL
  • Previous by thread: [MEET] Toronto Cocoaheads / tacow - July 6
  • Next by thread: Re: Pattern and Replace for Application URL
  • Index(es):
    • Date
    • Thread