Differences between revisions 1 and 2
Revision 1 as of 2008-12-31 03:27:32
Size: 372
Editor: RichBowen
Revision 2 as of 2009-09-20 22:13:30
Size: 372
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

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

RewriteFlags/H (last edited 2009-09-20 22:13:30 by localhost)