Re: HELP: Add header in pages server by Proxy
"António Rafael Paiva" <[email protected]>
| Newsgroups | gmane.comp.apache.mod-layout |
|---|---|
| Message-ID | <[email protected]> |
The installation of Apache by Mandrake is great since the so called "ADVX server" as it all: Apache, PHP, PHP support for MySQL and PostgreSQL, SSL, etc, but I don't know how to add or change an installed module since I can't find apxs :-( , the best I get is advxmodadd and advxmoddel, but how to compile and install new modules?... Is any other way to do it? Thanks in advance! Rafael On Wed, 4 Jun 2003 09:21:39 +0100 Neil Robst <[email protected]> wrote: > > Maybe the module has not been built into Apache > correctly? How about > downloading the latest module from software.tangent.org > and re-adding it? > > Regards, > Neil > > > "António Rafael Paiva" > > The version I have is 4.0.1a. > In the directives listing I can't see the directives I > have in the config file, maybe that why Apache failed. > > Any more ideas? Thanks in advance. > Rafael > > On Tue, 3 Jun 2003 10:09:50 +0100 > Neil Robst <[email protected]> wrote: > > > > What version of mod_layout is that included with > > Mandrake - I don't use > > that distro myself. If you've got mod_info enabled in > > your webserver the > > url /server-info would tell you... > > > > Regards, > > Neil > > > > "António Rafael Paiva" > > <[email protected]> > > > > Is this mailing list dead or what? At least any live > > sign > > woukd be apreciated! Thanks, Rafael > > > > On Fri, 30 May 2003 12:59:57 +0100 > > "António Rafael Paiva" <[email protected]> > > wrote: > > > Hi everyone! > > > > > > To my course final course i need to add a header (a > > >file > > > with some html) in all pages served by the Apache > > >proxy. > > > > > > I'm using the mod_layout installation from Mandrake > > >9.1, > > > and only the LayoutHeader directive is working, with > > >any > > > other directive apache doesn't start saying that the > > > directive isn't defined. > > > > > > The configuration I have currently tested is: > > > > > > <IfModule mod_proxy.c> > > > Listen 8080 > > > <VirtualHost 192.168.8.2:8080> > > > <Proxy *> > > > Order deny,allow > > > Deny from all > > > Allow from 192.168.8 > > > LayoutHeader /var/www/www/banner.html > > > DefaultType text/html > > > AddType text/html .html .shtml .php .php3 .asp > > > .jsp > > > AddOutputFilterByType LAYOUT text/html > > > SetOutputFilter LAYOUT > > > </Proxy> > > > ProxyRequests On > > > AllowCONNECT 443 > > > NoProxy 192.168.8.2 193.136.92.156 > > > ProxyDomain .my.domain > > > ProxyMaxForwards 10 > > > ProxyRemote * http://external.proxy:3128 > > > </VirtualHost> > > > </IfModule> > > > > > > Can anyone see what is wrong or missing here? > > > Thank you. > > > ---------------------------------------------------- António Rafael C. Paiva Electronics and Telecommunications Dep. Aveiro University