I am trying to set up a git server that uses Apache for http authentication. This is a brand new install of Apache 2.2.15. When a user tries to clone a git repository, I am getting lines in
/var/log/httpd/error_log that say
[error] [client xx.xx.xx.xx] Directory index forbidden by Options directive: /srv/git/
I am fairly certain that my
httpd.conf file is correct, I have a section that reads
<Directory "/srv/git"> Options +ExecCGI +Indexes +FollowSymLinks -MultiViews AllowOverride None Order allow, deny Allow from all </Directory>
There is also no other place in
httpd.conf where Indexes is turned off.
What could be the cause of this error message?
I am posting this question because I could not find a solution to my problem on StackExchange, but I did eventually solve this problem