Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 71664 invoked from network); 15 Jul 2004 14:52:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 15 Jul 2004 14:52:17 -0000 Received: (qmail 71939 invoked by uid 500); 15 Jul 2004 14:52:01 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 71917 invoked by uid 500); 15 Jul 2004 14:52:00 -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: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 71903 invoked by uid 99); 15 Jul 2004 14:52:00 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [80.229.52.226] (HELO hugin.webthing.com) (80.229.52.226) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 15 Jul 2004 07:51:57 -0700 Received: by hugin.webthing.com (Postfix, from userid 500) id 9879F406A5; Thu, 15 Jul 2004 15:51:50 +0100 (BST) Received: from localhost (localhost [127.0.0.1]) by hugin.webthing.com (Postfix) with ESMTP id 8F775406A4 for ; Thu, 15 Jul 2004 15:51:50 +0100 (BST) Date: Thu, 15 Jul 2004 15:51:50 +0100 (BST) From: Nick Kew To: users@httpd.apache.org In-Reply-To: Message-ID: References: <01e101c46a6d$c8b19fc0$0a00a8c0@mikislap> <40F68C93.5030908@netwerx.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked Subject: Re: [users@httpd] rewrite url on the fly X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Thu, 15 Jul 2004, Joshua Slive wrote: > Although I agree in general with the last two responses, note that > there is a module called mod_proxy_html that does on-the-fly rewriting > of html. I'm not sure if it can be used in a non-proxy situation. > Nick? Well, it's purely a filter, and doesn't care where the HTML is coming from, so it's not limited to a proxy. I just didn't see it being of any use outside a proxy situation. OTOH since the release of Version 2 last week, the webpage says: With these new features, mod_proxy_html might find applications outside a proxy context. But reverse-proxying remains its primary purpose. I haven't explored such applications, but I'm imagining for example that with regexp-based rewriting of javascript, it might serve to protect an open wiki-style site against insertion of malicious script by rendering it harmless. Anyone who has done that with mod_security could probably translate their rulesets, and mod_proxy_html should be a much lower performance hit in that particular task. -- Nick Kew --------------------------------------------------------------------- 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