Re: Rép : Re: Rewrite WO app URL
Re: Rép : Re: Rewrite WO app URL
- Subject: Re: Rép : Re: Rewrite WO app URL
- From: John Huss <email@hidden>
- Date: Wed, 12 Sep 2012 09:15:59 -0500
> Hi List,
>
> I disabled WOAdaptorURL, direct connect, restarted httpd and apache with these new settings :
>
> apache.conf :
>
> RewriteRule ^/Etudiant(.*)$ /cgi-bin/WebObjects/Dossier-Etudiants.woa/wa$1 [PT,L]
>
> properties file
>
> er.extensions.ERXApplication.replaceApplicationPath.pattern=/cgi-bin/WebObjects/Dossier-Etudiants.woa/wa
> er.extensions.ERXApplication.replaceApplicationPath.replace=/Etudiant
>
> The url :
http://agecanonix-form.utt.fr/Etudiant/myDefault works great but I have the old url which appears again when I navigate between my app links.
>
> How I fix it to maintain all links in this format :
http://agecanonix-form.utt.fr/Etudiant/...
Just remove the "/wa" from your patterns
_______________________________________________
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