Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 58772 invoked from network); 14 Jan 2008 19:11:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Jan 2008 19:11:33 -0000 Received: (qmail 26324 invoked by uid 500); 14 Jan 2008 19:11:23 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 26100 invoked by uid 500); 14 Jan 2008 19:11:22 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 26091 invoked by uid 99); 14 Jan 2008 19:11:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jan 2008 11:11:22 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kakibend@gmail.com designates 64.233.182.189 as permitted sender) Received: from [64.233.182.189] (HELO nf-out-0910.google.com) (64.233.182.189) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jan 2008 19:10:56 +0000 Received: by nf-out-0910.google.com with SMTP id c10so161261nfd.24 for ; Mon, 14 Jan 2008 11:11:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=QT48GLX/6Eys+HP9E/yuKMSbsSipRhoVZIlfIo8zwUY=; b=SzsDazP213uAq7jyKwJ8EbnZ+pGW4mgJEb7j98RNm6HcxGDjbT+M1JFirxYxA85I66AinXjIqSeygp9utbgMMivtK56vvoqYbi9DQLPcGeaY4kiISK/UsuBCiTFr+DZe5RL29Iv3saTSnrXvca+I8Veuo1fAMVG6R23dMSWekLk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=F7irW15ggv13P06j7On6e0TOZxjF0LW0JY8c5hMHET60M9PidEHG9b7Rqivdm7o40R5MpI9xwVNQFiWMdiH6YL4YC1YRDPnUOzzmDMMZt+jgDygWJpwJgHPDN+imux0zc8Nv17yphEWF0wEQKLkNSySkD9xOfNjJw4CXU264Qi0= Received: by 10.78.185.15 with SMTP id i15mr7920856huf.15.1200337860317; Mon, 14 Jan 2008 11:11:00 -0800 (PST) Received: by 10.78.161.13 with HTTP; Mon, 14 Jan 2008 11:11:00 -0800 (PST) Message-ID: <9dc7421e0801141111n2d2c040ah5df95dc374db644f@mail.gmail.com> Date: Mon, 14 Jan 2008 20:11:00 +0100 From: "karim Bendadda" To: modules-dev@httpd.apache.org Subject: Re: [Apache Module] Request External Redirection In-Reply-To: <478BACB6.6070407@joe-lewis.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_10726_24218222.1200337860321" References: <9dc7421e0801131158g361df65dpf026b5b05ff915bb@mail.gmail.com> <478B7277.4040909@joe-lewis.com> <9dc7421e0801140650q25f20749p450feaafe529e433@mail.gmail.com> <20080114150037.GE23798@suse.de> <9dc7421e0801140730s4aa042a0kc68741bda4050b18@mail.gmail.com> <478B8483.7010507@joe-lewis.com> <9dc7421e0801140844q51edf903h68780521bdc85c47@mail.gmail.com> <478B9718.6020804@joe-lewis.com> <9dc7421e0801140955t4ee24127ie5b1d4733fe22225@mail.gmail.com> <478BACB6.6070407@joe-lewis.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_10726_24218222.1200337860321 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline How can I see if my module really redirect the request?? (by the ap_log_error for example) Thank you very much for your precisous help! On 1/14/08, Joe Lewis wrote: > > karim Bendadda wrote: > > I did that , I have a redirection to the new url but it seems that it's > just > > a redirection , the HTTP request doesn't get in the new URl: there is my > > code: > > > > The only two options again are to proxy to the external server, or > redirect the client to the external server. > > If you don't want a redirection at the web browser, you will have to > proxy the request. I do not know about setting up a hook into mod_proxy > to have a request proxied - it's something I've never done, but there > should be many people who have done it. Anyone with any short examples? > > Joe > -- > Joseph Lewis > "Divide the fire, and you will sooner put it out." - Publius Syrus > -- Karim ------=_Part_10726_24218222.1200337860321--