• 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: Rép : Re: Rewrite WO app URL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Rewrite WO app URL (From: Pascal Robert <email@hidden>)
 >Rép : Re: Rewrite WO app URL (From: Raymond NANEON <email@hidden>)

  • Prev by Date: Re: adding a component to a D2W page
  • Next by Date: Re: Rewrite WO app URL
  • Previous by thread: Re: Rewrite WO app URL
  • Next by thread: Re: Rewrite WO app URL
  • Index(es):
    • Date
    • Thread