Apache to Tomcat request passing problem on iSeries
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere HTTP Server > Apache to Tomcat request passing problem on iSeries




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Apache to Tomcat request passing problem on iSeries  
oleg@investec.co.il


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-13-04 11:03 PM

Platform: iSeries
OS/400 version: V5R2M0
Server type: Apache

Hello!

I have written some module for Apache that implements a "quick
handler" to modify in some cases some of request parameters (query
string and/or request headers), or to send back to the client a
responce immediately.

The problem is: if the requested URL is a servlet (so, request have to
be served by Tomcat) then Apache takes the original query string (and
not the changed one) to pass it to Tomcat.

I have found that Apache takes the original query string by calling
the function " ap_get_original_query_string(request_rec
 *r)", but I
have not found any function like
" ap_set_original_query_string(request_rec
 *r)" and I have not found
any field inside "request_rec" that can contain original query string.

So, how I can pass the changed query string to Tomcat?

I will be grateful for any help.

By the way, may be somebody from IBM'ers who wrote the additions to
Apache code for AS400 can answer - why it was necessarily to save the
original query string? Only to ommit double translation (ASCII-EBCDIC
and then EBCDIC-ASCII)?

Regards,
Oleg Shor
oleg@investec.co.il





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:10 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register