Thank you!

Johnny Miller
Kahalawai Media Corp.
www.kahalawai.com



On Mar 20, 2012, at 12:16 PM, Ted Archibald wrote:

> You only need two of the three.  Either properties + apache rule or the Java 
> method + apache rule.
> 
> On Mon, Mar 19, 2012 at 1:23 PM, Johnny Miller <[email protected]> wrote:
> 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, <[email protected]> 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 <[email protected]> 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
>>>> [email protected]
>>>> 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
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/wonder-disc
> 
> 
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/ted.archibald%40gmail.com
> 
> This email sent to [email protected]
> 
> 

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

This email sent to [email protected]

Reply via email to