the repository which powers this website
Diffstat (limited to 'archlinux/apache.example.conf')
| -rw-r--r-- | archlinux/apache.example.conf | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/archlinux/apache.example.conf b/archlinux/apache.example.conf new file mode 100644 index 00000000..5845c950 --- /dev/null +++ b/archlinux/apache.example.conf @@ -0,0 +1,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> |