summaryrefslogtreecommitdiff
path: root/templates/apache-gitweb.conf.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/apache-gitweb.conf.erb')
-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>
+