• 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: ute Hoffmann <email@hidden>
  • Date: Tue, 22 Sep 2009 07:33:36 +0200

Upps, I think so. At which Property do I have to look to know.

I run in deployment and definitley come via apache but I have not set anything deliberately. I'm a new wonder user
so maybe I overlooked something...?


Am 21.09.2009 um 18:17 schrieb Guido Neitzer:

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:
@gmail.com


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

  • Prev by Date: Re: DirectAction with cookies and session
  • Next by Date: Statistik overlay - how to?
  • Previous by thread: Re: Rewrite Rule
  • Next by thread: Re: Rewrite Rule
  • Index(es):
    • Date
    • Thread