After a little work I found a better solution (although a tad messy).  I subclassed ERRouteLink so that I could remove the ra/ in the link that is generated.  Then I turned on cookies in the Session, and set the default format for ERRest to html.  And now I can get some pretty sweet and clean URLs for my pages, and all the other request handlers work perfectly.

e.g.
myserver.com/Account/1/Postings
myserver.com/Reports/AgingReport/2012-02

Properties:
er.extensions.ERXApplication.replaceApplicationPath.pattern=/cgi-bin/WebObjects/YourApp.woa
er.extensions.ERXApplication.replaceApplicationPath.replace=/

.htacess:
RewriteRule ^/([0-9]*/)?(?!(?:[0-9]*/)?ajax/|(?:[0-9]*/)?wis/|(?:[0-9]*/)?_wr_/|(?:[0-9]*/)?wa/|(?:[0-9]*/)?ra/|(?:[0-9]*/)?womp/|(?:[0-9]*/)?ja/|(?:[0-9]*/)?wo/|(?:[0-9]*/)?push/|(?:[0-9]*/)?wr/|(?:[0-9]*/)?ws/|(?:[0-9]*/)?erxadm/|(?:[0-9]*$))(.*)$ /cgi-bin/WebObjects/YourApp.woa/$1ra/$2 [NC,PT,L]

RewriteRule ^/([0-9]*/)?(ajax/|wis/|_wr_/|wa/|ra/|womp/|ja/|wo/|push/|wr/|ws/|erxadm/)(.*)$ /cgi-bin/WebObjects/YourApp.woa/$1$2$3 [NC,PT,L]

RewriteRule ^(/[0-9]*)?$ /cgi-bin/WebObjects/YourApp.woa [NC,PT,L]



On Tue, Feb 28, 2012 at 8:00 PM, Pascal Robert <probert@macti.ca> 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, <probert@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 <johnthuss@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-disc@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wonder-disc
>