Permalink
Browse files

Added hiawatha webserver URLToolkit configuration

  • Loading branch information...
1 parent 44ed193 commit 3d1302a501c9522f8d37111e22e123278129f4e8 Myhrlin committed Nov 26, 2012
Showing with 15 additions and 3 deletions.
  1. +15 −3 INSTALL.md
View
@@ -1,5 +1,5 @@
# GitList Installation
-* Download GitList from [gitlist.org](http://gitlist.org/) and decompress to your `/var/www/gitlist` folder, or anywhere else you want to place GitList.
+* 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).
@hwongcom

hwongcom Oct 17, 2014

any work on this?

* Create the cache folder and give read/write permissions to your web server user:
@@ -13,7 +13,7 @@ chmod 777 cache
That's it, installation complete!
## Webserver configuration
-Apache is the "default" webserver for GitList. You will find the configuration inside the `.htaccess` file. However, nginx and lighttpd are also supported.
+Apache is the "default" webserver for GitList. You will find the configuration inside the `.htaccess` file. However, nginx and lighttpd are also supported.
### nginx server.conf
@@ -73,4 +73,16 @@ url.rewrite-once = (
"^/gitlist/favicon\.ico$" => "$0",
"^/gitlist(/[^\?]*)(\?.*)?" => "/gitlist/index.php$1$2"
)
-```
+```
+
+### hiawatha
+
+```
+UrlToolkit {
+ ToolkitID = gitlist
+ RequestURI isfile Return
+ # If you have example.com/gitlist/ ; Otherwise remove "/gitlist" below
+ Match ^/gitlist/.* Rewrite /gitlist/index.php
+ Match ^/gitlist/.*\.ini DenyAccess
+}
+```

0 comments on commit 3d1302a

Please sign in to comment.