Re: Chaining Perl and C handlers

2000-11-15 Thread G.W. Haywood
Hi there, On Tue, 14 Nov 2000, Andrew Chen wrote: 1. Request comes in for t.jsp?test=1joe=2 2. Handler steps in and adds another parameter, t.jsp?test=1joe=2moe=3 3. Request is then handled by BEA-Apache bridge so that it is forwarded to Weblogic 4. JSP runs on Weblogic, and the new

Re: Chaining Perl and C handlers

2000-11-15 Thread Andrew Chen
Ged, Thanks for the input-- here are my answers below... The new parameter (which in the example was moe and not joe, my mistake) will be a "webid", a unique identifier for each website that is parsed out of the physical location of the file. For example,

Re: Chaining Perl and C handlers

2000-11-15 Thread Perrin Harkins
On Wed, 15 Nov 2000, Andrew Chen wrote: The new parameter (which in the example was moe and not joe, my mistake) will be a "webid", a unique identifier for each website that is parsed out of the physical location of the file. For example, www.joe-honda-dealer.com/inventory.jsp

Re: Chaining Perl and C handlers

2000-11-14 Thread Andrew Chen
Ged, What we are doing is having requests for files of extension *.jsp be passed from Apache to a BEA Weblogic box to be handled. However, we want to add an extra parameter into the GET/POST data before the request is passed. Thus, these are the steps: 1. Request comes in for t.jsp?test=1joe=2

Re: Chaining Perl and C handlers

2000-11-13 Thread Andrew Chen
Thanks for the reply! Is there any way to maybe sneak into the handler cycle before the BEA-Apache handler and alter the GET/POST data, thus accomplishing the same thing? Let me know if you need any clarification. (any replies should go to my e-mail address, as I'm not subscribed to the

Re: Chaining Perl and C handlers

2000-11-07 Thread G.W. Haywood
Hi there, On Mon, 6 Nov 2000, Andrew Chen wrote: According to my trusty Eagle book, I can chain Perl handlers (by using $r-pushhandlers(), but can I chain a C handler after a Perl handler?? Not until Apache 2.0, Eagle Book p175, "Chaining Content Handlers". A C handler either handles the

Chaining Perl and C handlers

2000-11-06 Thread Andrew Chen
All, The project I'm working on requres me to do the following: 1. GET/POST Request comes in 2. Request gets handled by a mod_perl handler, which modifies and adds to the GET/POST variables. 3. Request is then sent to a C handler (BEA WLS-Apache bridge) 4. Request is then handled by a JSP,