extensions"
From Documentation
m (Created page with "{{ZESTEssentialsPageHeader}} =Version History= {{LastUpdated}} {| border='1px' | width="100%" ! Version !! Date !! Content |- | | | |} {{ZESTEssentialsPage...") |
m (correct highlight (via JWB)) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{ZESTEssentialsPageHeader}} | {{ZESTEssentialsPageHeader}} | ||
+ | |||
+ | '''Syntax:''' | ||
+ | <extensions>''.ext1, .ext2, .ext''</extensions> | ||
+ | |||
+ | [Optional][Default: ''empty''] | ||
+ | |||
+ | It specifies a list of extensions that ZEST shall handle. If the extension of a request's URI does match any of them, it will be ignored (and handled as if ZEST is not installed). | ||
+ | |||
+ | By default, it is ''empty'' which means ZEST handles only URI without any extensions. | ||
+ | |||
+ | For example, the following statement indicates ZEST shall handle no extension, <code>.do</code> and <code>.action</code>: | ||
+ | |||
+ | <source lang="xml"> | ||
+ | <extensions>, .do, .action</extensions> | ||
+ | </source> | ||
+ | |||
+ | Notice that, to have better performance, ZEST matches the extension first before searching the action definitions. If you'd like to have [[ZEST Essentials/Configuration/zest.xml/action|an action definition]] matches a URI with an extension, make sure the extension of the URI is also specified here. | ||
=Version History= | =Version History= |
Latest revision as of 02:57, 18 January 2022
Syntax:
<extensions>.ext1, .ext2, .ext</extensions>
[Optional][Default: empty]
It specifies a list of extensions that ZEST shall handle. If the extension of a request's URI does match any of them, it will be ignored (and handled as if ZEST is not installed).
By default, it is empty which means ZEST handles only URI without any extensions.
For example, the following statement indicates ZEST shall handle no extension, .do
and .action
:
<extensions>, .do, .action</extensions>
Notice that, to have better performance, ZEST matches the extension first before searching the action definitions. If you'd like to have an action definition matches a URI with an extension, make sure the extension of the URI is also specified here.
Version History
Version | Date | Content |
---|---|---|