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: Tue, 11 Sep 2012 13:23:12 -0500
On Tue, Sep 11, 2012 at 9:56 AM, Raymond NANEON
<email@hidden> wrote:
Hi Pascal,
I tried all possibilities but nothing work :(
apache.conf
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule WebObjects_module modules/mod_WebObjects.so
...
RewriteEngine On
RewriteRule ^/Students(.*)$ /cgi-bin/WebObjects/Dossier-Etudiants.woa/wa$1 [PT,L]
httpd.conf
....
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule WebObjects_module modules/mod_WebObjects.so
webobjects.conf
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule WebObjects_module modules/mod_WebObjects.so
...
RewriteEngine On
RewriteRule ^/Students(.*)$ /cgi-bin/WebObjects/Dossier-Etudiants.woa/wa$1 [PT,L]
Result :
http://agecanonix-form.utt.fr:43836/Students/myDefault/Dossier/Dossier/Dossier/Dossier/Dossier-Etudiants.woa/wa/myDefault
And you are 100% sure that you are not using direct connect and that the app is running with Apache, wotaskd and the adaptor?
===> I don't know it the server is using direct connect. I know if we turn off wotaskd, all apps continue to work. How can I configue my app to run with apache?
You ARE using direct connect. You can tell because of the colon and port number after the host name in the url. You can disable it using the Properties file:
WODirectConnectEnabled = false
But if you are running through eclipse you will probably need to change your launch arguments on the WO tab.
John
_______________________________________________
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