• 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: Hand-rolled links not working in development without negative port number
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hand-rolled links not working in development without negative port number


  • Subject: Re: Hand-rolled links not working in development without negative port number
  • From: Chuck Hill <email@hidden>
  • Date: Tue, 24 Jun 2008 17:28:22 -0700


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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Hand-rolled links not working in development without negative port number
      • From: John Pollard <email@hidden>
    • Re: Hand-rolled links not working in development without negative port number
      • From: Florijan Stamenkovic <email@hidden>
References: 
 >Hand-rolled links not working in development without negative port number (From: John Pollard <email@hidden>)

  • Prev by Date: Re: WO 5.4 form value encoding problem
  • Next by Date: Re: AjaxTabPanel Tabs - looking for a way to use images as tabs
  • Previous by thread: Hand-rolled links not working in development without negative port number
  • Next by thread: Re: Hand-rolled links not working in development without negative port number
  • Index(es):
    • Date
    • Thread