fix-drupal-htaccess-rewritebase
v2.0.0
Published
Fixes the .htaccess file that fits my setup
Downloads
8
Readme
fix-drupal-htaccess-rewritebase
Fixes the .htaccess file that fits my setup
Installation
npm i -g fix-drupal-htaccess-rewritebase
Usage
$ fix-drupal-htaccess-rewritebase
What does it do?
Typically this:
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/,
# uncomment the following line:
- # RewriteBase /
+ RewriteBase /