blob: 1109037c60f37de118497ac64a4da4ccbd0dd38a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
User ${APACHE_RUN_USER}
Group ${APACHE_RUN_GROUP}
ErrorLog ${APACHE_LOG_DIR}/error.log
HostnameLookups Off
# Include module configuration:
IncludeOptional mods-enabled/*.load
IncludeOptional mods-enabled/*.conf
# Include list of ports to listen on
Include ports.conf
ServerName git.marks.kitchen
# Set aliases for cleaner urls.
Alias /cgit/cgit.css /usr/share/cgit/cgit.css
Alias /cgit/cgit.png /usr/share/cgit/cgit.png
Alias /favicon.ico /usr/share/cgit/favicon.ico
Alias /robots.txt /usr/share/cgit/robots.txt
ScriptAlias /cgit/ "/usr/lib/cgit/cgit.cgi/"
#ScriptAlias / /usr/lib/cgit/cgit.cgi
#DocumentRoot /usr/lib/cgit/cgit.cgi
<Directory "/usr/share/cgit">
AllowOverride None
Options None
Require all granted
</Directory>
<Directory "/usr/lib/cgit">
AllowOverride None
Options ExecCGI FollowSymlinks
Require all granted
</Directory>
RewriteEngine on
RewriteRule ^$ /cgit [L]
|