• 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: Redirecting internally
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Redirecting internally


  • Subject: Re: Redirecting internally
  • From: Chuck Hill <email@hidden>
  • Date: Thu, 21 Jul 2005 14:23:40 -0700

Using Apache? Use a rewrite rule to reformat the URL before passing it through the CGI

Chuck

On Jul 21, 2005, at 2:19 PM, Eric Stewart wrote:

I'm currently converting a script originally in cgi to WO. The server
gets requests something similar to this
http://www.example.com/cgi-bin/script.cgi?a=1&b=2.

I need that to be internally redirected to
http://www.example.com/cgi-bin/WebObjects/Script.woa/wa/action?a=1&b=2

The real kicker is that I can't do an external redirect because this
script is actually being called by other scripts. Any ideas other than
using the cgi-wrapper?

Thanks
Eric Stewart
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
village.net


This email sent to email@hidden


--
Practical WebObjects - a book for intermediate WebObjects developers who want to increase their overall knowledge of WebObjects, or those who are trying to solve specific application development 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


References: 
 >Redirecting internally (From: Eric Stewart <email@hidden>)

  • Prev by Date: Redirecting internally
  • Next by Date: WORedirect - how to get it to bring up a new page
  • Previous by thread: Redirecting internally
  • Next by thread: Re: Redirecting internally
  • Index(es):
    • Date
    • Thread