Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 58546 invoked by uid 500); 6 Aug 2003 19:39:12 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 58533 invoked from network); 6 Aug 2003 19:39:12 -0000 From: "Aryeh Katz" To: dev@httpd.apache.org Date: Wed, 6 Aug 2003 15:37:48 -0400 MIME-Version: 1.0 Subject: ap_run_sub_req problem Message-ID: <3F3120CC.23440.43D98757@localhost> Priority: normal X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N In certain circumstances, I need to do an internal redirect on the client's request (without sending back a redirect to the client). I tried using ap_sub_req_method_uri (specifying NULL for the filter), and then ap_run_sub_req. I see that the content type of the new request is correct (in my case, image/gif). However, when the request is sent to the client, the content type is text/plain. Thus, the reply to the client doesn't render properly. I suspect I am not invoking ap_run_sub_req properly. Is there something I should know about how to invoke run_sub_req? Thanks. Aryeh --- Aryeh Katz Secured-Services Inc.