From 67f68a52552679afdd57ad80039f09c3beb62fa4 Mon Sep 17 00:00:00 2001 From: Lionello Lunesu Date: Thu, 11 Jul 2013 15:45:12 +0800 Subject: [PATCH] Adding SymLinksIfOwnerMatch to ensure RewriteEngine can be used; adapted the README --- .htaccess | 2 +- README.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.htaccess b/.htaccess index b3e5da9..42ef535 100644 --- a/.htaccess +++ b/.htaccess @@ -1,5 +1,5 @@ - Options -MultiViews + Options -MultiViews SymLinksIfOwnerMatch RewriteEngine On #RewriteBase /path/to/gitlist/ diff --git a/README.md b/README.md index 1f82891..1fb701c 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,8 @@ In order to run GitList on your server, you'll need: ## Installing * Download GitList from [gitlist.org](http://gitlist.org/) and decompress to your `/var/www/gitlist` folder, or anywhere else you want to place GitList. * Rename the `config.ini-example` file to `config.ini`. -* Open up the `config.ini` and configure your installation. You'll have to provide where your repositories are located and the base GitList URL (in our case, http://localhost/gitlist). +* Open up the `config.ini` and configure your installation. You'll have to provide where your repositories are located. +* In case GitList isn't accessed through the root of the website, open .htaccess and edit RewriteBase (for example, /gitlist/ if GitList is accessed through http://localhost/gitlist/). * Create the cache folder and give read/write permissions to your web server user: ```