Hi Pascal,

Do you need to do all three?  Or is specifying the pattern enough in the 
properties file enough?  I've always done it my own before and I'm trying the 
wonder way out this time.

Thank you,

Johnny Miller
Kahalawai Media Corp.
www.kahalawai.com



On Feb 28, 2012, at 4:00 PM, Pascal Robert wrote:

> In Apache:
> 
>  RewriteRule ^/(.*)$ /cgi-bin/WebObjects/YourApp.woa/ra$1 [PT,L] 
> 
> In the properties:
> 
>  
> er.extensions.ERXApplication.replaceApplicationPath.pattern=/cgi-bin/WebObjects/YourApp.woa/ra
>  er.extensions.ERXApplication.replaceApplicationPath.replace=/
> 
> In Application.java:
> 
>  public String _rewriteURL(String url) {
>    String processedURL = url;
>    if (url != null && _replaceApplicationPathPattern != null && 
> _replaceApplicationPathReplace != null) {
>      processedURL = processedURL.replaceFirst(_replaceApplicationPathPattern, 
> _replaceApplicationPathReplace);
>    }
>    return processedURL;
>  }
> 
>> I have a fresh Wonder install as of Feb something, so how do I do it?
>> 
>> On Tue, Feb 28, 2012 at 7:10 PM, <prob...@macti.ca> wrote:
>> You can hide the /ra, but you need a ERRest framework that is more recent 
>> than November, before that Wonder wasn't rewriting the URL correctly.
>> 
>>> I already do that to replace the application path, but this doesn't apply 
>>> to the /ra route, correct?
>>> 
>>> On Tue, Feb 28, 2012 at 6:33 PM, John Huss <johnth...@gmail.com> wrote:
>>> Yes, set up mod_rewrite is apache and then there are also 2 properties in 
>>> Wonder you have to set.
>>> 
>>> 
>>> On Tuesday, February 28, 2012, Ted Archibald wrote:
>>> Is there anyway to make ERRest route all the urls without /ra?  Or does 
>>> this confuse WebObjects?
>>> 
>>> So instead of having a link like: mywebsite.com/ra/Entitiy/1.json it would 
>>> be mywebsite.com/Entitiy/1.json
>>> 
>>> I've been looking around and I couldn't find anything obvious.
>>> 
>>> ------------------------------------------------------------------------------
>>> Virtualization & Cloud Management Using Capacity Planning
>>> Cloud computing makes use of virtualization - but cloud computing 
>>> also focuses on allowing computing to be delivered as a service.
>>> http://www.accelacomm.com/jaw/sfnl/114/51521223/
>>> _______________________________________________
>>> Wonder-disc mailing list
>>> wonder-d...@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/wonder-disc
>> 
> 
> 
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing 
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> Wonder-disc mailing list
> wonder-d...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wonder-disc

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to