Application Class Reference

Inherits er::extensions::appserver::ERXApplication.

Collaboration diagram for Application:

Collaboration graph
[legend]

List of all members.

Public Member Functions

String _rewriteURL (String url)
 Application ()

Static Public Member Functions

static void main (String[] argv)


Constructor & Destructor Documentation

Application (  ) 


Member Function Documentation

String _rewriteURL ( String  url  ) 

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]

Parameters:
url the URL to rewrite
Returns:
the rewritten URL

Reimplemented from ERXApplication.

static void main ( String[]  argv  )  [static]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:36 2012 for Project Wonder by  doxygen 1.5.8