vdlp/oc-redirectconditionsheader-plugin
最新稳定版本:1.2.0
Composer 安装命令:
composer require vdlp/oc-redirectconditionsheader-plugin
包简介
Adds Header conditions to the Redirect plugin.
README 文档
README
This is an extension plugin for the Redirect plugin for OctoberCMS.
Requirements
- Plugin
Vdlp.Redirect - Plugin
Vdlp.RedirectConditions
Conditions
HeaderCondition
On a positive match the redirect will take place if the request matches given condition parameters.
Condition parameters:
- Header name (case insensitive)
- Header value (case insensitive)
- Whether to use regular expression for header value matching (see official preg_match documentation)
Unit tests
To run the Unit Tests of this plugin, execute the following command from the project root:
vendor/bin/phpunit plugins/vdlp/redirectconditionsheader
Questions? Need help?
If you have any question about how to use this plugin, please don't hesitate to contact us at octobercms@vdlp.nl. We're happy to help you. You can also visit the support forum and drop your questions/issues there.
统计信息
- 总下载量: 29
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2023-06-12