inspiredminds/contao-crawler-authenticator 问题修复 & 功能扩展

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

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

inspiredminds/contao-crawler-authenticator

最新稳定版本:2.0.1

Composer 安装命令:

composer require inspiredminds/contao-crawler-authenticator

包简介

Allows the Contao Crawler to be logged in as a front end member via Basic Authentication in order to index protected pages.

README 文档

README

Contao Crawler Authenticator

Allows the Contao Crawler to be logged in as a front end member via Basic Authentication in order to index protected pages.

Usage

  1. Install the extension (zero configuration necessary in the Contao Managed Edition).
  2. Create a front end member specifically for the Contao Crawler or re-use an existing one where you know the password.
  3. Assign the member to the appropriate member groups.
  4. Now choose one of the following options (replace <username> and <password> with the member's credentials):
    • Pass the member's username and password for every contao:crawl execution:
      CRAWLER_AUTH=<username>:<password> vendor/bin/contao-console contao:crawl --subscribers=search-index --max-depth=3
      
    • Define the member's username and password in the .env.local:
      # .env.local
      CRAWLER_AUTH=<username>:<password>
      These will then get used automatically every time you execute contao:crawl (unless overridden by the former command). Make sure you also have a .env file, otherwise the .env.local will not be loaded of course.

Note: be aware that the member's password will be put unencrypted into the bash history in the former case and into the .env.local in the latter case.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL-3.0-or-later
  • 更新时间: 2024-01-20