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

Re: Rewrite Rule


  • Subject: Re: Rewrite Rule
  • From: Guido Neitzer <email@hidden>
  • Date: Mon, 21 Sep 2009 09:17:34 -0700

Are you running in WebServer connect mode?

cug

-- http://www.event-s.net

On 20. Sep. 2009, at 02:02 , ute Hoffmann wrote:

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

_______________________________________________ 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: ute Hoffmann <email@hidden>
References: 
 >Rewrite Rule (From: ute Hoffmann <email@hidden>)

  • Prev by Date: Re: AjaxAutoComplete - is it possible to have the equivalent of a noDisplayString?
  • Next by Date: Re: Proper Wonder/App Initialization for testing
  • Previous by thread: Rewrite Rule
  • Next by thread: Re: Rewrite Rule
  • Index(es):
    • Date
    • Thread