• 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
Rewrite Rule
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Rewrite Rule


  • Subject: Rewrite Rule
  • From: ute Hoffmann <email@hidden>
  • Date: Sun, 20 Sep 2009 11:02:55 +0200

Hi,
should this work for applications which have a session as well,
or will it work only for sessionless apps?

 * <code>
 * er.extensions.ERXApplication.replaceApplicationPath.pattern=/cgi-bin/WebObjects/YourApp.woa
 * er.extensions.ERXApplication.replaceApplicationPath.replace=/yourapp
 * </code>
 *
 * and in Apache 2.2:
 * <code>
 * RewriteRule ^/yourapp(.*)$ /cgi-bin/WebObjects/YourApp.woa$1 [PT,L]
 * </code>
 *
 * or Apache 1.3:
 * <code>
 * RewriteRule ^/yourapp(.*)$ /cgi-bin/WebObjects/YourApp.woa$1 [P,L]
 * </code>

I put it into the properties file of an Application, but nothing changed in the way the URL's were displayed.

I use WOHyperlinks which call directActions with parameters and have a session.

I have the Application extend a Application class in a framework which then in turn extends ERXApplication.
Could that be part of my problem? But the Application starts up ok, and the added properties are in the logfile,
so I THINK they should be seen...

Probably this is very basic, sorry.

Thanks for your help.

Regards,

Ute
 _______________________________________________
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: Rewrite Rule
      • From: Guido Neitzer <email@hidden>
  • Prev by Date: Recommendations for deployment on VPS?
  • Next by Date: Re: Recommendations for deployment on VPS?
  • Previous by thread: Re: Recommendations for deployment on VPS?
  • Next by thread: Re: Rewrite Rule
  • Index(es):
    • Date
    • Thread