basilicom-pimcore-plugin/subdomain-admin 问题修复 & 功能扩展

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

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

basilicom-pimcore-plugin/subdomain-admin

最新稳定版本:v1.0.0

Composer 安装命令:

composer require basilicom-pimcore-plugin/subdomain-admin

包简介

A Pimcore plugin that disables access to the admin backend through the main domain and enables it on another domain

README 文档

README

Codacy Badge Dependency Status Scrutinizer Code Quality Build Status SensioLabsInsight

Developer info: Pimcore at basilicom

Synopsis

This Pimcore http://www.pimcore.org plugin disables admin access on main domain and enables it on another subdomain/domain set in Website Settings.

Code Example / Method of Operation

After installing the plugin there is a new website setting available (under Settings > Website) with name subdomainAdmin. Set it to the domain that you want admin accessible from (e.g. admin.yourdomain.com).

Motivation

Even though Pimcore comes with great security it still makes sense to prevent access to admin through the main domain, especially to any bots, script kiddies, ...

Installation

Add "basilicom-pimcore/subdomain-admin" as a requirement to the composer.json in the toplevel directory of your Pimcore installation. Then enable and install the plugin in Pimcore Extension Manager (under Extras > Extensions)

Example:

{
    "require": {
        "basilicom-pimcore-plugin/subdomain-admin": ">=1.0.0"
    }
}

Troubleshooting

In case you lose access to the admin area due to misconfiguration you have two options:

  • disable plugin by editing /website/var/config/extensions.xml (change the value to 0 or delete the whole line)
  • remove Website Setting by deleting the corresponding row (subdomainAdmin) in website_settings table in the database

Contributors

License

  • BSD-3-Clause

统计信息

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

GitHub 信息

  • Stars: 4
  • Watchers: 14
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2015-03-31

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固