httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan H N Chin <>
Subject [users@httpd] ext_filter + negotiation?
Date Fri, 30 May 2008 15:54:32 GMT
Using debian's apache 2.0.54 and 2.2.3, I define a filter:

	ExtFilterDefine test \
		mode=output intype=text/html \
		cmd="/usr/bin/perl -pe 's/foo/bar/g'"

I use it with:

	DocumentRoot /export/www
	<Directory /export/www>
		Options Indexes FollowSymLinks MultiViews
	<Location />
		SetOutputFilter test

I create a page "/test.html":


If I GET http://server/test.html, the substitution happens.
However, if I GET http://server/test, it does not.

What do I need to do to make substitution also work with
content negotiation?



   Jonathan H N Chin     | deputy computer | Newton Institute, Cambridge, UK
<> | systems manager | tel/fax: +44 1223 767091/330508

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message