aboutsummaryrefslogtreecommitdiffstats
path: root/debian/examples/apache2.conf
diff options
context:
space:
mode:
Diffstat (limited to 'debian/examples/apache2.conf')
-rw-r--r--debian/examples/apache2.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/examples/apache2.conf b/debian/examples/apache2.conf
new file mode 100644
index 0000000..04b557e
--- /dev/null
+++ b/debian/examples/apache2.conf
@@ -0,0 +1,15 @@
1# Apache2 configuration for Debian cgit package.
2# The CGI executable is /usr/lib/cgi-bin/cgit.cgi
3# Other static assets are installed in /usr/share/cgit/htdocs
4
5Alias /cgit/cgit.css /usr/share/cgit/htdocs/cgit.css
6Alias /cgit/cgit.png /usr/share/cgit/htdocs/cgit.png
7Alias /cgit/robot.txt /usr/share/cgit/htdocs/robots.txt
8Alias /cgit/favicon.ico /usr/share/cgit/htdocs/favicon.ico
9ScriptAlias /cgit/ /usr/lib/cgi-bin/cgit.cgi/
10
11<Directory "/usr/share/cgit/htdocs">
12 AllowOverride None
13 Order allow,deny
14 Allow from all
15</Directory>