You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by António Rafael Paiva <a2...@alunos.det.ua.pt> on 2003/04/17 13:06:04 UTC

[users@httpd] AddOutputFilter

Hi all!

I'm using mod_layout to add banners to pages served by 
Apache. Thanks Joshua.

But in my configuration i have

AddOutputFilter LAYOUT html

so that *.html (only :-( ) pages are served. I have tried 
SetOutputFilter but then i couldn't open images.

How do i set this to all types of pages?
Can this be done to proxied pages?

Any help very apreciated!

----------------------------------------------------
António Rafael C. Paiva
Electronics and Telecommunications Dep.
Aveiro University

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> 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


Re: [users@httpd] AddOutputFilter

Posted by Joshua Slive <jo...@slive.ca>.
On Thu, 17 Apr 2003, António Rafael Paiva wrote:
> But in my configuration i have
>
> AddOutputFilter LAYOUT html
>
> so that *.html (only :-( ) pages are served. I have tried
> SetOutputFilter but then i couldn't open images.
>
> How do i set this to all types of pages?
> Can this be done to proxied pages?

I think you need to be a little more specific about what you mean by
"pages".  Certainly you don't want the filter working on
gif/jpeg/pdf/doc/ps/etc.  Do you mean you want it to work on all files
with type text/html?  If so, see AddOutputFilterByType.

I'm not really an expert on using output filters with proxy, but I suspect
it will work.  You might need to put the directives inside a <Proxy *>
block.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> 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