Fix apache cfg

This commit is contained in:
Denis Silakov 2013-10-14 13:10:01 +04:00
parent efe2ea1547
commit 8a9667c9cd

View file

@ -5,7 +5,7 @@
Name: git Name: git
Epoch: 1 Epoch: 1
Version: 1.7.11.3 Version: 1.7.11.3
Release: 3 Release: 4
Summary: Global Information Tracker Summary: Global Information Tracker
License: GPLv2 License: GPLv2
Group: Development/Other Group: Development/Other
@ -162,6 +162,7 @@ Git obsolete commands, bound to extinction
Summary: cgi-bin script for browse a git repository with web browser Summary: cgi-bin script for browse a git repository with web browser
Group: System/Servers Group: System/Servers
Requires: git-core = %{EVRD} Requires: git-core = %{EVRD}
Requires: apache-mod_perl
%description -n gitweb %description -n gitweb
cgi-bin script for browse a git repository with web browser. cgi-bin script for browse a git repository with web browser.
@ -234,6 +235,7 @@ Alias /gitweb %{_datadir}/gitweb
Require all granted Require all granted
Options ExecCgi Options ExecCgi
DirectoryIndex gitweb.cgi DirectoryIndex gitweb.cgi
AddHandler cgi-script .cgi
</Directory> </Directory>
EOF EOF