summaryrefslogtreecommitdiff
path: root/community/cgit/apache.example.conf
blob: 9beb27db3fb7d91b16b5b7243d6b46d4e13f346f (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
ScriptAlias /cgit/ "/usr/lib/cgit/cgit.cgi/"

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

<Directory "/usr/share/webapps/cgit/">
	AllowOverride None
	Options None
	Order allow,deny
	Allow from all
	AuthType Basic
	AuthName cgit
	AuthUserFile /etc/httpd/conf/passwd
	Require user root
</Directory>

<Directory "/usr/lib/cgit/">
	AllowOverride None
	Options ExecCGI FollowSymlinks
	Order allow,deny
	Allow from all
	AuthType Basic
	AuthName cgit
	AuthUserFile /etc/httpd/conf/passwd
	Require user root
</Directory>