HELP: Add header in pages server by Proxy
"António Rafael Paiva" <[email protected]>
| Newsgroups | gmane.comp.apache.mod-layout |
|---|---|
| Message-ID | <[email protected]> |
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