Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 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 (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-06-23T06:20:23.000Z (over 6 years ago)
- Last Synced: 2024-10-12T01:46:33.051Z (3 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
[![Coverage Status](https://coveralls.io/repos/eiriksm/fix-drupal-htaccess-rewritebase/badge.svg?branch=master)](https://coveralls.io/r/eiriksm/fix-drupal-htaccess-rewritebase?branch=master)
[![Code Climate](https://codeclimate.com/github/eiriksm/fix-drupal-htaccess-rewritebase/badges/gpa.svg)](https://codeclimate.com/github/eiriksm/fix-drupal-htaccess-rewritebase)
[![Build Status](https://travis-ci.org/eiriksm/fix-drupal-htaccess-rewritebase.svg?branch=master)](https://travis-ci.org/eiriksm/fix-drupal-htaccess-rewritebase)
[![Dependency Status](https://david-dm.org/eiriksm/fix-drupal-htaccess-rewritebase.svg)](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 /
```