summaryrefslogtreecommitdiff
path: root/gitweb-httpd.conf
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-05 02:05:39 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-05 02:05:39 +0000
commitd23cd896d4fde33b5e323ec84af1c1472c59c461 (patch)
tree1415b8bb99a5761240c41c8b1615a381cc84c16c /gitweb-httpd.conf
parent96b302672a8bc92199343579778067efaefe48c7 (diff)
automatic import of gitopeneuler24.03_LTS
Diffstat (limited to 'gitweb-httpd.conf')
-rw-r--r--gitweb-httpd.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/gitweb-httpd.conf b/gitweb-httpd.conf
new file mode 100644
index 0000000..4f4eac7
--- /dev/null
+++ b/gitweb-httpd.conf
@@ -0,0 +1,7 @@
+Alias /git /var/www/git
+
+<Directory /var/www/git>
+ Options +ExecCGI
+ AddHandler cgi-script .cgi
+ DirectoryIndex gitweb.cgi
+</Directory>