ehaerer/redirect-403
Composer 安装命令:
composer require ehaerer/redirect-403
包简介
Redirect error 403 to login page or information page
关键字:
README 文档
README
Basic redirect error 403 to login page or information page and bring user back to target url after login.
1 Features
- Redirect user to login page if not logged in
- Redirect user to information page if logged in but no access to page
- Redirect user after login to target url
2 Usage
2.1 Installation
Installation using Composer
The recommended way to install the extension is using Composer.
Run the following command within your Composer based TYPO3 project:
composer require ehaerer/redirect-403
Installation as extension from TYPO3 Extension Repository (TER) - not recommended
Download and install the extension with the extension manager module.
2.2 Minimal setup
- Just install the extension and you are done
3 Report issues
Please report issue directly in the issue tracker in the Github repository.
4 Administration corner
4.1 Settings in the site configuration
- protectedInfoLink - Select a page with information why the users has no access here
- loginPageLink - Select a page where to find the login module
Your errorHandling configuration should look like this in your /config/sites/my-site.yaml file:
errorHandling:
- errorCode: 403
errorHandler: PHP
errorPhpClassFQCN: EHAERER\Redirect403\Error\ErrorHandler
protectedInfoLink: 't3://page?uid=1'
loginPageLink: 't3://page?uid=2'
4.2 Changelog
Please have a look into the Github repository.
4.3 Release Management
Redirect 403 uses semantic versioning, which means, that
- bugfix updates (e.g. 1.0.0 => 1.0.1) just includes small bugfixes or security relevant stuff without breaking changes,
- minor updates (e.g. 1.0.0 => 1.1.0) includes new features and smaller tasks without breaking changes,
- and major updates (e.g. 1.0.0 => 2.0.0) breaking changes wich can be refactorings, features or bugfixes.
4.4 Contribution
Pull Requests are gladly welcome! Nevertheless please don't forget to add an issue and connect it to your pull requests. This is very helpful to understand what kind of issue the PR is going to solve.
Bugfixes: Please describe what kind of bug your fix solve and give us feedback how to reproduce the issue. We're going to accept only bugfixes if we can reproduce the issue.
Features: Not every feature is relevant for the bulk of redirect_403 users. In addition: We don't want to make redirect_403
even more complicated in usability for an edge case feature. It helps to have a discussion about a new feature before you open a pull request.
ehaerer/redirect-403 适用场景与选型建议
ehaerer/redirect-403 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 89 次下载、GitHub Stars 达 0, 最近一次更新时间为 2022 年 08 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「error」 「redirect」 「TYPO3 CMS」 「403」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 ehaerer/redirect-403 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 ehaerer/redirect-403 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 ehaerer/redirect-403 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Redirects TYPO3 visitors automatic or with a suggestlink to another language and/or root page.
Set Links with a specific language parameter
TYPO3 CMS extension to create gallery content element with preset crop ratios and pagination
Advanced TYPO3 redirect management for sys_redirect with regex and host/language-aware matching, CSV/.htaccess import/export, categories and priority, automatic slug redirect workflows, plus hit/log analytics.
An interactive tour through the TYPO3 backend.
PHP Error Handler module that captures and displays all throwable errors in a given format, making debugging easier and more efficient
统计信息
- 总下载量: 89
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 13
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2022-08-04