summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAdrien Thebo <adrien.thebo@gmail.com>2011-05-23 17:11:45 -0700
committerAdrien Thebo <adrien.thebo@gmail.com>2011-05-23 17:11:45 -0700
commitc63f313fabe1b9a180f1e6f44fbdef43ed18019b (patch)
tree616fbdd299f95bae0d1d021e1d72f3deddb7a701 /templates
Initial commit.
Diffstat (limited to 'templates')
-rw-r--r--templates/apache-gitweb.conf.erb13
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/apache-gitweb.conf.erb b/templates/apache-gitweb.conf.erb
new file mode 100644
index 0000000..d0736ae
--- /dev/null
+++ b/templates/apache-gitweb.conf.erb
@@ -0,0 +1,13 @@
+<VirtualHost *:<%= port %>>
+ ServerName <%= name %>
+ DocumentRoot <%= docroot %>
+ <Directory <%= docroot %>>
+ Options ExecCGI +FollowSymLinks +SymLinksIfOwnerMatch
+ AllowOverride All
+ order allow,deny
+ Allow from all
+ AddHandler cgi-script cgi
+ DirectoryIndex gitweb.cgi
+ </Directory>
+</VirtualHost>
+