almaviacx/restrictedsiteaccess 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

almaviacx/restrictedsiteaccess

Composer 安装命令:

composer require almaviacx/restrictedsiteaccess

包简介

AlmaviaCX Restricted SiteAccess Bundle provide a restriction of one or more siteaccess by IP addresses for ibexa 4.x in case it is impossible to restrict by nginx/apache or .htaccess. Useful for restricting a siteaccess on platform.sh

README 文档

README

AlmaviaCX Restricted SiteAccess Bundle provide a restriction of one or more siteaccess by IP addresses for ibexa 4.x in case it is impossible to restrict by nginx/apache or .htaccess. Useful for restricting a siteaccess on platform.sh

Installation

Use Composer

Add the lib to your composer.json, run composer require almaviacx/restrictedsiteaccess to refresh dependencies.

Register the bundle

Then inject the bundle in the config\bundles.php of your application.

    return [
        // ...
        AlmaviaCX\RestrictedSiteaccess\AlmaviacxRestrictedSiteaccessBundle::class => ['all' => true],
    ];

Add parameters

The values can be updated according to the project specification

# config/packages/ibexa.yaml

parameters:
  ...
  acx_acl.default.siteaccess_controls:
    'siteaccessname':
      enabled: true
      authorized_ips:
        - 192.168.16.1
        - X.X.X.X
    'admin':
      enabled: true
      authorized_ips:
        - 192.168.16.1
        - X.X.X.X

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 6
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-05-24