]> git.pld-linux.org Git - packages/git-core.git/commitdiff
apache multiversion config auto/th/git-core-1.8.4-2
authorElan Ruusamäe <glen@delfi.ee>
Thu, 26 Sep 2013 20:36:20 +0000 (23:36 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 26 Sep 2013 20:36:20 +0000 (23:36 +0300)
git-core-gitweb-httpd.conf
git-core.spec

index b77928782c4c6e9c1499d3b2aee32ba4f62b3712..0feccbbeafd820eabfd7ad111aa2457f74dad698 100644 (file)
@@ -1,13 +1,29 @@
 <Directory /usr/share/gitweb>
        AllowOverride None
-       Allow from All
+       # Apache 2.x
+       <IfModule !mod_authz_core.c>
+               Order allow,deny
+               Allow from all
+       </IfModule>
+       # Apache 2.4
+       <IfModule mod_authz_core.c>
+               Require all granted
+       </IfModule>
 </Directory>
 
 # Version 1 (default): under /cgi-bin/gitweb.cgi address
 Alias /cgi-bin/static/ /usr/share/gitweb/static/
 ScriptAlias /cgi-bin/gitweb.cgi /usr/lib/cgi-bin/gitweb.cgi
 <Location /cgi-bin/gitweb.cgi>
-       Allow from All
+       # Apache 2.x
+       <IfModule !mod_authz_core.c>
+               Order allow,deny
+               Allow from all
+       </IfModule>
+       # Apache 2.4
+       <IfModule mod_authz_core.c>
+               Require all granted
+       </IfModule>
 </Location>
 SetEnv GITWEB_CONFIG "/etc/webapps/gitweb/gitweb.conf"
 
@@ -22,7 +38,15 @@ SetEnv GITWEB_CONFIG "/etc/webapps/gitweb/gitweb.conf"
 #      DirectoryIndex gitweb.cgi
 #      <Location />
 #              Options ExecCGI
-#              Allow from All
+#              # Apache 2.x
+#              <IfModule !mod_authz_core.c>
+#                      Order allow,deny
+#                      Allow from all
+#              </IfModule>
+#              # Apache 2.4
+#              <IfModule mod_authz_core.c>
+#                      Require all granted
+#              </IfModule>
 #      </Location>
 #      SetEnv GITWEB_CONFIG "/etc/webapps/gitweb/gitweb.conf"
 #</VirtualHost>
index 34a3f7799658ae5b22548a0fbd1afaab7391d98d..3fcbe0610effe06b6efdee8b921dc617f9011e3d 100644 (file)
@@ -11,7 +11,7 @@ Summary:      Distributed version control system focused on speed, effectivity and us
 Summary(pl.UTF-8):     Rozproszony system śledzenia treści skupiony na szybkości, wydajności i użyteczności
 Name:          git-core
 Version:       1.8.4
-Release:       1
+Release:       2
 License:       GPL v2
 Group:         Development/Tools
 Source0:       http://git-core.googlecode.com/files/git-%{version}.tar.gz
@@ -26,8 +26,8 @@ Patch0:               %{name}-tests.patch
 Patch1:                %{name}-key-bindings.patch
 Patch2:                %{name}-sysconfdir.patch
 Patch3:                cherry-picked-commitlog.patch
-Patch4:                %{name}-svn-serf.patch
-Patch5:                %{name}-svn-exit-errors.patch
+Patch4:                %{name}-svn-serf.patch
+Patch5:                %{name}-svn-exit-errors.patch
 URL:           http://git-scm.com/
 BuildRequires: autoconf >= 2.59
 BuildRequires: automake
This page took 0.207497 seconds and 4 git commands to generate.