You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wiki-changes@httpd.apache.org by Apache Wiki <wi...@apache.org> on 2008/12/31 04:27:34 UTC
[Httpd Wiki] Update of "RewriteFlags/H" by RichBowen
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.
The following page has been changed by RichBowen:
http://wiki.apache.org/httpd/RewriteFlags/H
New page:
(New in 2.1)
Forces the use of a particular handler in dealing with the rewritten request. Equivalent to the AddHandler directive.
For example, to cause a request for a phps file to return the syntax-highlighted source code of the associated php file, you might do something like this:
{{{
RewriteRule (.*)\.phps$ $1.php [H=application/x-httpd-php-source]
}}}