-
修复适用于我当前设置的fix-drupal-htaccess-rewritebase文件
资源介绍
fix-drupal-htaccess-rewritebase
修复适合我的设置的.htaccess文件
安装
npm i -g fix-drupal-htaccess-rewritebase
用法
$ fix-drupal-htaccess-rewritebase
它有什么作用?
通常这是:
diff --git a/drupal/.htaccess b/drupal/.htaccess
index 974999a..76d721b 100644
--- a/drupal/.htaccess
+++ b/drupal/.htaccess
@@ -120,7 +120,7 @@ AddEncoding gzip svgz
#
# If your site is running in a VirtualDocumentRoot at http://example.com