https://github.com/eiriksm/fix-drupal-htaccess-rewritebase
Fixes the .htaccess file that fits my setup
https://github.com/eiriksm/fix-drupal-htaccess-rewritebase
Last synced: 5 months ago
JSON representation
Fixes the .htaccess file that fits my setup
- Host: GitHub
- URL: https://github.com/eiriksm/fix-drupal-htaccess-rewritebase
- Owner: eiriksm
- Created: 2015-09-06T17:58:28.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-06-23T06:20:23.000Z (about 7 years ago)
- Last Synced: 2025-01-29T23:45:49.126Z (5 months ago)
- Language: JavaScript
- Size: 17.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fix-drupal-htaccess-rewritebase
[](https://coveralls.io/r/eiriksm/fix-drupal-htaccess-rewritebase?branch=master)
[](https://codeclimate.com/github/eiriksm/fix-drupal-htaccess-rewritebase)
[](https://travis-ci.org/eiriksm/fix-drupal-htaccess-rewritebase)
[](https://david-dm.org/eiriksm/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
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 /
```