2.0.0 • Published 8 years ago

fix-drupal-htaccess-rewritebase v2.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

fix-drupal-htaccess-rewritebase

Coverage Status Code Climate Build Status Dependency Status

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 /
2.0.0

8 years ago

1.0.0

9 years ago