|
This is very helpful!.
Thanks for the explanation.
Could you please tell me the file where I can set the rule in Apache 1.3? Is the httpd.conf file?
Thanks in advance.
On Nov 19, 2008, at 8:36 PM, Guido Neitzer wrote: On 19.11.2008, at 19:17, Timothy Reaves wrote:
I thought that when a site used WebObjects, it was readily apparent because of the distinctive URL. Is this no longer the case? Can you now (or could you always) create sites that have no long string of numeric characters, and the woa? In other words, where the URL's look just like static content?
You can. You could always rewrite URLs, create different looking URLs and so on. It just got very simple with the _rewriteUrl() method that is part of Wonder's ERXApplication. You can just provide a replacement pattern and your URLs get rewritten by the application. A corresponding rewrite rule for apache's mod_rewrite does the other way.
This is from the documentation of ERXApplication:
* 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>
cug
_______________________________________________ Do not post admin requests to the list. They will be ignored. Help/Unsubscribe/Update your Subscription:
 _______________________________
Ing. Miguel Angel Torres Avila
|
_______________________________________________
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]