You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Eli Loewen <fl...@gmail.com> on 2010/08/07 21:55:22 UTC

[users@httpd] Using mod_substitute with XHTML

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
---------------------------------------------------------------------
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] Using mod_substitute with XHTML

Posted by Eli Loewen <fl...@gmail.com>.
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?

---------------------------------------------------------------------
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] Using mod_substitute with XHTML

Posted by Eric Covener <co...@gmail.com>.
On Sat, Aug 7, 2010 at 5:26 PM, Eli Loewen <fl...@gmail.com> wrote:
> I tried both SetOutputFilter SUBSTITUTE and AddOutputFilterByType SUBSTITUTE text/html application/xhtml+xml with no luck.

Works for me with AddoutputFilterByType, not sure what config could
conflict.  Sure your substitution applies?


-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
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] Using mod_substitute with XHTML

Posted by Eli Loewen <fl...@gmail.com>.
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?


---------------------------------------------------------------------
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] Using mod_substitute with XHTML

Posted by Eric Covener <co...@gmail.com>.
On Sat, Aug 7, 2010 at 3:55 PM, Eli Loewen <fl...@gmail.com> wrote:
> 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?
>

What did you try?  SetOutputFilter and AddOutputFilterByType didn't work?


-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
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