Pattern and Replace for Application URL
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