Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 73012 invoked from network); 8 Apr 2005 19:07:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Apr 2005 19:07:12 -0000 Received: (qmail 80181 invoked by uid 500); 8 Apr 2005 19:07:01 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 80169 invoked by uid 500); 8 Apr 2005 19:07:01 -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 80151 invoked by uid 99); 8 Apr 2005 19:07:01 -0000 X-ASF-Spam-Status: No, hits=1.1 required=10.0 tests=URIBL_SBL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from awl.doit.wisc.edu (HELO awl.doit.wisc.edu) (128.104.17.198) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 08 Apr 2005 12:07:00 -0700 Received: from awl.doit.wisc.edu (localhost.localdomain [127.0.0.1]) by awl.doit.wisc.edu (8.12.11/8.12.11) with ESMTP id j38J4cfS031673 for ; Fri, 8 Apr 2005 14:04:38 -0500 Received: from localhost (cdunigan@localhost) by awl.doit.wisc.edu (8.12.11/8.12.11/Submit) with ESMTP id j38J4cus031669 for ; Fri, 8 Apr 2005 14:04:38 -0500 X-Authentication-Warning: awl.doit.wisc.edu: cdunigan owned process doing -bs Date: Fri, 8 Apr 2005 14:04:38 -0500 (CDT) From: Craig Dunigan To: users@httpd.apache.org In-Reply-To: <95BB6C97E6368545B709D667EA022FFD0870C78A@ctarng-mail.ct.ng.ds.army.mil> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked Subject: Re: [users@httpd] Rewrite attributes in document... X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Fri, 8 Apr 2005, Maldonado, Daniel CW2 CTARNG wrote: > OK, I googled, yahooed and read enough documentation to try and solve this > problem on my own. > > I am at a loss and I hope one of you can help me. > > I need to know if there is a way the httpd server can parse every returned > html/xml page and replace every instance of a pattern on said page. > > For example, if a page contains the following tag: > > > Replace every instance of that tag with: > > > Mod_rewrite and others helped with the actual URL in the address but not > with the contents of the html/xml page. > > Anyone have a suggestion? > > Daniel Maldonado > Programmer Analyst > AFAIK, Apache by itself does nothing with the contents of a file it serves. You can write your own content handler with the Apache API, and make Apache do almost anything you want, but wouldn't it just be simpler to use sed or perl to change the pages directly? Unless you're on Windows, then I'd suggest a good web site management tool like Dreamweaver. -- Craig Dunigan IS Technical Services Specialist (I don't know what it means, either) Middleware - Enterprise Info Systems - Department of Info Technology University of Wisconsin, Madison opinions expressed are my own, not the University's --------------------------------------------------------------------- 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