on ERXApplication:

        /**
* This method is called by ERXWOContext and provides the application a hook
         * to rewrite generated URLs.
         *
* You can also set "er.extensions.replaceApplicationPath.pattern" to the pattern to * match and "er.extensions.replaceApplicationPath.replace" to the value to replace
         * it with.
         *
         * For example, in Properties:
         * <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>
         *
         * @param url
         *            the URL to rewrite
         * @return the rewritten URL
         */
        public String _rewriteURL(String url) {

On Oct 7, 2008, at 3:04 PM, Xavier Destombes wrote:

Hello Guido,
I'm jumping on this answer to ask you:
Do you have a sample code that use wonder url rewriting feature?
When you decode using Apache rewrite, are you using a script or a static rewriting rule?
:)
Thanks

Xavier

On 2-Oct-08, at 3:31 PM, Mike Schrag wrote:

I' am not a member of this sect... but, it is WO-Based, a far as I can tell from the url.

http://www.wwag.com/
I periodically do a google search for "inurl:/cgi-bin/ WebObjects" ... Sometimes interesting.

Unfortunately URL rewriting is too simple with Wonder ... ;-)

cug
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40anazys.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:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to