2017-06-20 00:46:50 +10:00
|
|
|
ScriptAlias /cgit/ "/usr/lib/cgit/cgit.cgi/"
|
2010-12-16 01:53:13 +11:00
|
|
|
|
2017-06-20 00:46:50 +10:00
|
|
|
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/">
|
2010-12-16 01:53:13 +11:00
|
|
|
AllowOverride None
|
2017-06-20 00:46:50 +10:00
|
|
|
Options ExecCGI FollowSymlinks
|
|
|
|
Require all granted
|
|
|
|
AuthType Basic
|
|
|
|
AuthName cgit
|
|
|
|
AuthUserFile /etc/httpd/conf/passwd
|
|
|
|
Require user root
|
2010-12-16 01:53:13 +11:00
|
|
|
</Directory>
|