summarylogtreecommitdiffstats
path: root/apache.example.conf
blob: 5845c9507e6a74503d64a87e0a963881f9dc23e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
ScriptAlias /cgit/ "/usr/lib/cgit/cgit.cgi/"

Alias /cgit-css "/usr/share/webapps/cgit/"

<Directory "/usr/share/webapps/cgit/">
	AllowOverride None
	Options None
	Require all granted
	AuthType Basic
	AuthName cgit
	AuthUserFile /etc/httpd/conf/passwd
	Require user root
</Directory>

<Directory "/usr/lib/cgit/">
	AllowOverride None
	Options ExecCGI FollowSymlinks
	Require all granted
	AuthType Basic
	AuthName cgit
	AuthUserFile /etc/httpd/conf/passwd
	Require user root
</Directory>