liquidweb/htaccess-validator-shell 问题修复 & 功能扩展

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

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

liquidweb/htaccess-validator-shell

最新稳定版本:v0.1.0

Composer 安装命令:

composer require liquidweb/htaccess-validator-shell

包简介

Shell script for linting and validating Apache2 Htaccess files

README 文档

README

Apache Htaccess files can be a double-edged sword: on one hand, site owners can easily add new rewrites, configure headers, and more. On the other hand, one mistake can mean the whole site goes down.

This script aims to solve that problem, enabling changes to validated programmatically. Making changes to a site's .htaccess file? Validate your changes before applying them!

⚠️ Using PHP?
Check out this script's companion Composer package.

Requirements

As the package uses Apache2 itself to validate, it must be available within your environment. The Liquid Web Knowledge Base has instructions for installing Apache on most popular platforms.

Usage

The bin/validate-htaccess script accepts a configuration file for validation:

$ bin/validate-htaccess /path/to/some/file.conf

The script will return a non-zero exit code if validation errors were detected. Individual codes are documented in the script's header.

统计信息

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

GitHub 信息

  • Stars: 17
  • Watchers: 9
  • Forks: 2
  • 开发语言: Shell

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-03-02