You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Rajasekaran Deepak <de...@students.iiit.net> on 2004/03/27 15:53:03 UTC
[users@httpd] XBitHack XHTML problem
XBitHack <http://httpd.apache.org/docs-2.0/mod/mod_include.html#xbithack>
ought to parse not only 'text/html' but also 'application/xhtml+xml' files.
Burkett gives details at <http://www.dionidium.com/2004/03/ssi>.
Could this modification be made to mod_include?
---------------------------------------------------------------------
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] XBitHack XHTML problem
Posted by André Malo <nd...@perlig.de>.
* Joshua Slive <jo...@slive.ca> wrote:
>
> On Sat, 27 Mar 2004, Rajasekaran Deepak wrote:
>
> > XBitHack <http://httpd.apache.org/docs-2.0/mod/mod_include.html#xbithack>
> > ought to parse not only 'text/html' but also 'application/xhtml+xml'
> > files.
> >
> > Burkett gives details at <http://www.dionidium.com/2004/03/ssi>.
> >
> > Could this modification be made to mod_include?
>
> Not a bad idea, and a fairly easy modification to mod_include. You may
> want to file an "enhancement request" bug report for this.
>
> But remember that XBitHack is really a hack. You can get pretty much the
> same effect by using other Apache directives to control the includes and
> mod_expires to ensure cacheability.
I think, the one matching the current reality best would be:
XbitHack On|Off|mime-type [mime-type] ...
(with on == text/html for backwards compat)
That would also allow to treat types like text/plain, text/xml etc.
nd
---------------------------------------------------------------------
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] XBitHack XHTML problem
Posted by Joshua Slive <jo...@slive.ca>.
On Sat, 27 Mar 2004, Rajasekaran Deepak wrote:
> XBitHack <http://httpd.apache.org/docs-2.0/mod/mod_include.html#xbithack>
> ought to parse not only 'text/html' but also 'application/xhtml+xml' files.
>
> Burkett gives details at <http://www.dionidium.com/2004/03/ssi>.
>
> Could this modification be made to mod_include?
Not a bad idea, and a fairly easy modification to mod_include. You may
want to file an "enhancement request" bug report for this.
But remember that XBitHack is really a hack. You can get pretty much the
same effect by using other Apache directives to control the includes and
mod_expires to ensure cacheability.
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: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org