diff options
author | Colin Guthrie <colin@mageia.org> | 2013-06-09 10:39:41 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2013-06-09 10:39:41 +0000 |
commit | 99ae0159bbe44a13832774e2c55431c47f79d47f (patch) | |
tree | d39cde90d16478f2bd7b3e1a7009307f15c7720e /modules/cgit/templates/vhost.conf | |
parent | 967d3b4ea70f33cf034a4bed7d04243856658200 (diff) | |
download | puppet-99ae0159bbe44a13832774e2c55431c47f79d47f.tar puppet-99ae0159bbe44a13832774e2c55431c47f79d47f.tar.gz puppet-99ae0159bbe44a13832774e2c55431c47f79d47f.tar.bz2 puppet-99ae0159bbe44a13832774e2c55431c47f79d47f.tar.xz puppet-99ae0159bbe44a13832774e2c55431c47f79d47f.zip |
Add rewrite rules for cgit and move some apache configuration to a better place
Diffstat (limited to 'modules/cgit/templates/vhost.conf')
-rw-r--r-- | modules/cgit/templates/vhost.conf | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/cgit/templates/vhost.conf b/modules/cgit/templates/vhost.conf index c33efe84..9beab703 100644 --- a/modules/cgit/templates/vhost.conf +++ b/modules/cgit/templates/vhost.conf @@ -1,2 +1,10 @@ Alias /cgit-data /usr/share/cgit ScriptAlias / /var/www/cgi-bin/cgit + +<Directory /usr/share/cgit> + Order allow,deny + Allow from all +</Directory> + +RewriteEngine On +RewriteRule ^(.*)$ /?url=$1 [L,QSA] |