Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Add SymLinksIfOwnerMatch to .htaccess to squelch Apache RewriteEngine error #343

Merged
merged 1 commit into from

2 participants

@lionello

Apache would show the following error

[Thu Jul 11 15:15:14 2013] [error] [client ::1] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /Users/llunesu/Sites/

SymLinksIfOwnerMatch seems to be the safer of the two, so I added that to .htaccess

Also added a note about .htaccess to the README.md

@klaussilveira klaussilveira merged commit 3c2e99c into klaussilveira:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 11, 2013
  1. @lionello
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 2 deletions.
  1. +1 −1  .htaccess
  2. +2 −1  README.md
View
2  .htaccess
@@ -1,5 +1,5 @@
<IfModule mod_rewrite.c>
- Options -MultiViews
+ Options -MultiViews SymLinksIfOwnerMatch
RewriteEngine On
#RewriteBase /path/to/gitlist/
View
3  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:
```
Something went wrong with that request. Please try again.