in reply to surround PHP with filters

Yes, it is possible to do what you show in your sample here. The "SetHandler modperl" looks wrong to me, but the concept is correct. Did you actually write code for these filters?

Replies are listed 'Best First'.
Re^2: surround PHP with filters
by maard (Pilgrim) on Dec 30, 2005 at 12:00 UTC
    That SetHandler directive isn't wrong, see example in mod_perl2 filters. But I overlooked something obvious: use of <Files ~ "\.php"> instead of <Location>