• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Rewrite WO app URL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rewrite WO app URL


  • Subject: Re: Rewrite WO app URL
  • From: George Domurot <email@hidden>
  • Date: Mon, 17 Sep 2012 13:33:29 -0700

Ah, but it really is that simple.

If it isn't working, you've most likely misconfigured something.

Did you remove your modification to Application._rewriteURL?

-G

On Sep 17, 2012, at 12:03 PM, Raymond NANEON wrote:

Hi George,

Thanks for your reply but it's not simple as you talk. If you have read all topics, you can see I have done all settings you wrote but nothing work.

Is this problem come form my WO server settings?

I would like to have an answer about this issue.

Ray

Envoyé depuis iCloud



Le 17 sept. 2012 à 15:33, George Domurot <email@hidden> a écrit :

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
References: 
 >Rép : Re: Rewrite WO app URL (From: Raymond NANEON <email@hidden>)
 >Re: Rewrite WO app URL (From: George Domurot <email@hidden>)
 >Re: Rewrite WO app URL (From: Raymond NANEON <email@hidden>)

  • Prev by Date: Re: organizing rulemodeler file?
  • Next by Date: Re: Trouble Shooting Mountain Lion
  • Previous by thread: Re: Rewrite WO app URL
  • Next by thread: Re: ERPDFGeneration with FOP and examples
  • Index(es):
    • Date
    • Thread