Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 15727 invoked from network); 10 Dec 2007 12:57:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Dec 2007 12:57:55 -0000 Received: (qmail 55646 invoked by uid 500); 10 Dec 2007 12:57:34 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 55637 invoked by uid 500); 10 Dec 2007 12:57:34 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 55624 invoked by uid 99); 10 Dec 2007 12:57:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Dec 2007 04:57:33 -0800 X-ASF-Spam-Status: No, hits=-3.8 required=10.0 tests=NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_MED,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [193.56.114.156] (HELO smtp2.fr.adp.com) (193.56.114.156) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Dec 2007 12:57:32 +0000 Received: from exchange2k304.gaia.fr ([150.175.10.77]) by smtp2.fr.adp.com (xx/xx) with ESMTP id lBACvBwu013662 for ; Mon, 10 Dec 2007 13:57:12 +0100 Received: from EXCHSUR.gaia.fr ([150.175.3.51]) by exchange2k304.gaia.fr with Microsoft SMTPSVC(6.0.3790.1830); Mon, 10 Dec 2007 13:57:12 +0100 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Mon, 10 Dec 2007 13:57:12 +0100 Message-ID: <28D87C00C6E83540A814CFAE3FA63E3F1CE781@EXCHSUR.gaia.fr> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [users@httpd] Enquiry about Reserve Proxy Thread-Index: Acg7KXO1/zWlDVZIRiqkN0FRRslkeQAAKZ5w References: <14252046.post@talk.nabble.com> From: "Axel-Stephane SMORGRAV" To: X-OriginalArrivalTime: 10 Dec 2007 12:57:12.0730 (UTC) FILETIME=[2EA627A0:01C83B2C] X-Virus-Checked: Checked by ClamAV on apache.org Subject: RE: [users@httpd] Enquiry about Reserve Proxy AS far as I can tell from the looks of your configuration, you are = pretty much on top of things. What you need to do is investigate the cause for the missing resources, = for example by looking at the access- and errorlogs to see what URLs = are requested that return a HTTP 404. There may be URLs that you = expected to be rewritten by one of your ProxyHTMLURLMap rules but that = were not. You may have to set "ProxyHTMLExtended On" for these links to = be rewritten if they are included in for example JavaScript or CSS. -ascs =20 -----Message d'origine----- De : pdt_p [mailto:pinlie@gmail.com]=20 Envoy=E9 : lundi 10 d=E9cembre 2007 13:37 =C0 : users@httpd.apache.org Objet : [users@httpd] Enquiry about Reserve Proxy Hi.... I have setup a reserve proxy in my working environment.=20 I use Apache 2.2.6 and mod_proxy_html 3.0.0. I run this on windows xp. I do have a webserver running on difference subnet. I try to put the = reserve proxy for that webserver(the one on difference subnet). I have follow the tutorial in this website : http://www.apachetutor.org/admin/reverseproxies I am able to render the page through the proxy but some images and css = is missing. seems like the path is not right. this is my setting: ProxyRequests Off Order deny,allow Allow from all ProxyHTMLLogVerbose On ProxyPass / http://147.76.10.23/ ProxyPass /sss/ http://147.76.10.23/ss/ ProxyPass /ssss/ http://147.76.10.23/ss/ssss/ ProxyHTMLURLMap http://147.76.10.23/ / ProxyHTMLURLMap http://147.76.10.23/ss /ss ProxyHTMLURLMap http://147.76.10.23/ssss /ssss ProxyPassReverse / SetOutputFilter proxy-html ProxyHTMLURLMap / / RequestHeader unset Accept-Encoding ProxyPassReverse / SetOutputFilter proxy-html ProxyHTMLURLMap / /ss/ ProxyHTMLURLMap /ss /ss ProxyHTMLURLMap /ss/ /ss/ RequestHeader unset Accept-Encoding =09 ProxyPassReverse / SetOutputFilter proxy-html ProxyHTMLURLMap / /ssss/ ProxyHTMLURLMap /ssss /ssss ProxyHTMLURLMap /ssss/ /ssss RequestHeader unset Accept-Encoding * Any Idea why some images and css is missing and some is working = properly (can be loaded as what I expected)? is there any settings that I miss?=20 since the page that I request is containing a frame, is that any = setting is required since some frame source is in the same level as root,ex: http://147.76.10.23/mysource1.html, and some source come from the lower level, ex: http://147.76.10.23/ss/mysecondsource.html? * The other issue is, when I request this page thrugh IE, The page can = be rendered but If i request it thorugh FireFox, the HTML code is display. = any idea? * If I modify :=20 - "ProxyPass / http://147.76.10.23/" to "ProxyPass /app1/ http://147.76.10.23/"=20 - "ProxyHTMLURLMap http://147.76.10.23/ /" to "ProxyHTMLURLMap http://147.76.10.23/ /app1" - " ProxyPassReverse / SetOutputFilter proxy-html ProxyHTMLURLMap / / RequestHeader unset Accept-Encoding " to " ProxyPassReverse /=20 SetOutputFilter proxy-html ProxyHTMLURLMap / /app1/ ProxyHTMLURLMap /app1 /app1 RequestHeader unset Accept-Encoding "=20 So when I request in the web browser the url change from = http://hostname/ to http://hostname/app1/=20 By doing this what is render in the web browser is all the css and = image link is not found? any idea? Thank you very much in advance. Pdt =20 --=20 View this message in context: = http://www.nabble.com/Enquiry-about-Reserve-Proxy-tp14252046p14252046.htm= l Sent from the Apache HTTP Server - Users mailing list archive at = Nabble.com. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server = Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org