I have tried both of those things and its doesn't help, there are no
messages in the Log files and even when i use
<Location /cgi-bin>
SetOutputFilter vlads
</Location>
it still does not filter, does anyone have any ideas?
Joshua Slive wrote:
On Fri, Feb 29, 2008 at 3:48 PM, Vladimir Vanuukov <[EMAIL PROTECTED]> wrote:
Hi, I can't seem to figure out how to get a filter defined by
ExtFilterDefine to filter the output of a cgi program (in this case
CGIProxy). I've been hitting my head against a brick wall for a day now and
i still can't get this to work.
I define the filter using
ExtFilterDefine vlads mode=output cmd="/bin/sed
s/some_text/some_other_text/g"
Which appears at the very top of a site config file. Then inside of a
<VirtualHost *> i have
SetOutputFilter vlads
I then define the cgi-bin using
Alias /cgi-bin/ /usr/lib/cgi-bin/
<Directory /usr/lib/cgi-bin>
SetOutputFilter vlads
AllowOverride None
SetHandler cgi-script
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch +Indexes
Order allow,deny
Allow from all
</Directory>
When i go to any other page on this site the filter works, however the
output of the cgi scripts (CGProxy) goes through unfiltered. Any help would
be great
There is nothing in the error log and nothign special in the access log
either.
I don't see any particular problem with your setup.
Have you tried turning up the logging using ExtFilterOptions?
Have you tried activating using a <Location > instead of <Directory>?
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]