diff options
author | root <root@rshg054.dnsready.net> | 2011-08-03 23:14:34 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-08-03 23:14:34 +0000 |
commit | 8c2359e2541f9d1b11443b49d8ea502b3ffea39c (patch) | |
tree | 035176ef2ab4dbaabda40150109c203887d83ed7 /community/cgit/apache.example.conf | |
parent | 991d38faccf4e1fb27f31f236ad58ee840103734 (diff) |
Wed Aug 3 23:14:34 UTC 2011
Diffstat (limited to 'community/cgit/apache.example.conf')
-rw-r--r-- | community/cgit/apache.example.conf | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/community/cgit/apache.example.conf b/community/cgit/apache.example.conf new file mode 100644 index 000000000..9beb27db3 --- /dev/null +++ b/community/cgit/apache.example.conf @@ -0,0 +1,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> |