From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pacific-carrier-annex.mit.edu ([18.7.21.83]) by speech.braille.uwo.ca with esmtp (Exim 3.32 #1 (Debian)) id 169glC-0003mZ-00 for ; Fri, 30 Nov 2001 01:02:54 -0500 Received: from grand-central-station.mit.edu (GRAND-CENTRAL-STATION.MIT.EDU [18.7.21.82]) by pacific-carrier-annex.mit.edu (8.9.2/8.9.2) with ESMTP id BAA00074 for ; Fri, 30 Nov 2001 01:02:58 -0500 (EST) Received: from melbourne-city-street.mit.edu (MELBOURNE-CITY-STREET.MIT.EDU [18.7.21.86]) by grand-central-station.mit.edu (8.9.2/8.9.2) with ESMTP id BAA01055 for ; Fri, 30 Nov 2001 01:02:57 -0500 (EST) Received: from rich (208-59-250-51.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com [208.59.250.51]) by melbourne-city-street.mit.edu (8.9.2/8.9.2) with SMTP id BAA09581 for ; Fri, 30 Nov 2001 01:02:56 -0500 (EST) Message-ID: <005a01c17964$b4a6b800$6401a8c0@cable.rcn.com> From: "Rich Caloggero" To: References: <003801c1782c$673e12e0$0100a8c0@cybertsar> Subject: Re: Re: Autoprepending scripts with Apache Date: Fri, 30 Nov 2001 01:02:47 -0500 Organization: MIT ATIC Lab MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: speakup-admin@braille.uwo.ca Errors-To: speakup-admin@braille.uwo.ca X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: speakup@braille.uwo.ca X-Reply-To: "Rich Caloggero" List-Help: List-Post: List-Subscribe: , List-Id: Speakup is a screen review system for Linux. List-Unsubscribe: , List-Archive: You write: > You are right, the "action" keyword is of much help here. One has to > establish a handler and use it in conjunction with the "action". If your using php, you can just use the php configuration variable auto_prepend_file. Here's the documentation from the manual at www.php.net auto_prepend_file string Specifies the name of a file that is automatically parsed before the main file. The file is included as if it was called with the include() function, so include_path is used. The special value none disables auto-prepending. ----- Original Message ----- From: "Victor Tsaran" To: Sent: 28 November, 2001 11:33 AM Subject: Re: Re: Autoprepending scripts with Apache thanks for the message. I found my question partially answered in the Apache's FAQ. You are right, the "action" keyword is of much help here. One has to establish a handler and use it in conjunction with the "action". Best and thanks, Vic ----- Original Message ----- From: "Ari Moisio" To: "Speakup mailing list" Sent: Wednesday, November 28, 2001 12:50 PM Subject: OT: Re: Autoprepending scripts with Apache > Hello > > Action keyword might help, somethin like > action text/html your/script.php > inhttpd.conf > > That script will toutput requested page to its standard input. File > name is at some environment variable, $PATH_TRANSLATED iirc. > > Victor Tsaran 28.11.01: > > >Those of you, who are experts in Apache server administration. Do you know > >if there is an option to auto_prepend a certain script to any .html file > >parsed by the server? For example, I have a script written in PHP and I want > >it to be attached to every .html file of the website. Please note that I > >would like to avoid using SSI because this would involve modifying all the > >pages on the website. > >Would be grateful for any advice. > >Victor > > > > -- > Mr. Ari Moisio, Niittykatu 7, 41160 Tikkakoski, +358-40-5055239 > ari.moisio@iki.fi http://www.iki.fi/arimo PGP-keyID: 0x3FAF0F05 > > > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup >