Re: [us...@httpd] Using mod_substitute with XHTML

2010-08-07 Thread Eli Loewen
Ok so using SetOutputFilter SUBSTITUTE worked. Seems it was my layers of caching that was the culprit. Thanks for your help :) On Aug 7, 2010, at 5:52 PM, Eric Covener wrote: > Works for me with AddoutputFilterByType, not sure what config could > conflict. Sure your substitution applies?

Re: [us...@httpd] Using mod_substitute with XHTML

2010-08-07 Thread Eli Loewen
I tried both SetOutputFilter SUBSTITUTE and AddOutputFilterByType SUBSTITUTE text/html application/xhtml+xml with no luck. On Aug 7, 2010, at 2:15 PM, Eric Covener wrote: > What did you try? SetOutputFilter and AddOutputFilterByType didn't work? ---

[us...@httpd] Using mod_substitute with XHTML

2010-08-07 Thread Eli Loewen
When I try to use substitution with mod_substitute on pages with the .xhtml extension, which uses the application/xml+xhtml mime type, substitution in the page does not take place. How do I configure mod_substitute to work on .xhtml pages? Thanks. Eli --

[us...@httpd] Mod_substitute linebreaks?

2010-06-08 Thread Eli Loewen
I'm looking for a way to add linebreaks to a substitution using mod_substitute and I have no idea how to do it. For example I have the code: Substitute 's|REPLACE-THIS|Stuff. New line. Etc.|q' And I want to have a linebreak (the code following on a new line) between "Stuff." and "New line."