Skip to content

eiriksm/fix-drupal-htaccess-rewritebase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 /

About

Fixes the .htaccess file that fits my setup

Resources

Stars

Watchers

Forks

Packages

No packages published