On Jun 24, 2008, at 3:55 AM, John Pollard wrote:

Hi list,

As a rule I run WO apps in development via apache2 web server with:

-WOAdaptorURL http://localhost/cgi-bin/WebObjects
-WOAllowRapidTurnaround true
-WODirectConnectEnabled false
-WOPort -9999

This results in URLs that begin with http://localhost/-9999/.......

That does not look correct. The -9999 should be near the end, after Appname.woa/


Does this mean that apache sends requests to that application instance directly or does it go via wotaskd?


I would expect that URL to not work at all. With the negative port number after the .woa/, it would be going through wotaskd


This all works fine and links generated by the application itself in code all contain the -9999, no problem.

However, the application also has user supplied links to WO pages that omit the -9999 (as there would be no -9999 in the deployed system). These give me a "The requested application was not found on this server".

My colleague says that the same links, that omit the -9999, work fine in development for him and they used to work for me too.

One of three things is true:

1. You remember incorrectly
2. You had rewrite rules that were adding this number into the URL
3. You had storing the session ID and Instance Number in cookies enabled



I could do with understanding what the mechanics are of these negative port number connections and why mine should have broken. I am suspect it relates to my Run... script as that seemed to get hosed by an SVN checkout at one point.

The launch config gets stored in the workspace metadata, not in the project. So svn checkouts should not affect this.

Chuck

--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects





_______________________________________________
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]

Reply via email to