Contents
- Introduction
- Installation
- Working with ISAPI_Rewrite
- ISAPI_Rewrite directives
- Examples
- Troubleshooting
- Release notes
<Files> directive
Description: | Enclose directives that apply to matched filenames |
Syntax: | <Files filename> ... </Files> |
Context: | server config, virtual host, directory, .htaccess |
The <Files> directive limits the scope of the enclosed directives by filename. The filename argument should include a filename, supports ? and * wildcards and regular expressions with the addition of the ~ character.
Example:
<Files index.*> |
Don't forget to include RewriteEngine on directive
in every <VirtualHost> tag or enclosed rules will not be applied.