
Public Member Functions | |
| String | _rewriteURL (String url) |
| Application () | |
Static Public Member Functions | |
| static void | main (String[] argv) |
| Application | ( | ) |
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: er.extensions.ERXApplication.replaceApplicationPath.pattern=/cgi-bin/WebObjects/YourApp.woa er.extensions.ERXApplication.replaceApplicationPath.replace=/yourapp
and in Apache 2.2: RewriteRule ^/yourapp(.*)$ /cgi-bin/WebObjects/YourApp.woa$1 [PT,L]
or Apache 1.3: RewriteRule ^/yourapp(.*)$ /cgi-bin/WebObjects/YourApp.woa$1 [P,L]
| url | the URL to rewrite |
Reimplemented from ERXApplication.
| static void main | ( | String[] | argv | ) | [static] |
1.5.8