• 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: nice error messages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nice error messages


  • Subject: Re: nice error messages
  • From: Mike Schrag <email@hidden>
  • Date: Wed, 21 Mar 2007 10:44:48 -0400

This, by the way, seems like a bug to me that there isn't a place in the adaptor config file to set the default redirect url for non- existent applications without going through what Patrick describes.
Dear WebObjects,
I am sorry about the disparaging remark I made about you having a bug. I should have trusted that in your wise age you have solutions to all of my needs that are even documented in your deployment guide if I was not too lazy to have found it.
Love,
Mike


In /System/Library/WebObjects/Adaptors/Apache/apache.conf, there is a setting WebObjectsOptions (which annoyingly is not presented with an example in the same config file -- Pierre?) which lets you pass in various key-value pairs to the adaptor. In particular, one named "redir". See page 41 of the deployment guide for the others.

The example:
WebObjectsOptions redir=http://www.apple.com

This value is used when there is no application-specific redirect url available. In particular, this can happen if your app is turned off completely or someone mistypes the woa name.

ms

_______________________________________________
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: nice error messages
      • From: "Jerry W. Walker" <email@hidden>
References: 
 >nice error messages (From: Mike Schrag <email@hidden>)
 >Re: nice error messages (From: Mike Schrag <email@hidden>)
 >Re: nice error messages (From: Mark Ritchie <email@hidden>)
 >Re: nice error messages (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: nice error messages
  • Next by Date: Re: nice error messages
  • Previous by thread: Re: nice error messages
  • Next by thread: Re: nice error messages
  • Index(es):
    • Date
    • Thread