Hi Raymond,
Rewriting an entire app is simple and straight forward with Wonder. You are most likely over coding.
1) update your Properties file
# Apache Deployment Rewrite er.extensions.ERXApplication.replaceApplicationPath.pattern=/cgi-bin/WebObjects/AppName.woa er.extensions.ERXApplication.replaceApplicationPath.replace=/AppName
2) update Apache <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^/AppName(.*)$ /cgi-bin/WebObjects/AppName.woa$1 [PT,L] </IfModule>
NOTE: properties and rewrite mirror each other. The first line in Properties matches the second part of the rewrite rule, and the second line matches the first part.
3) if you've done anything else Delete it, i.e. don't screw with Application._rewriteURL.
-G
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
|