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