AliasMatch ^/trac/([^/]+/)?chrome/([^/]+)/(.*) /usr/share/trac/htdocs/$2/$3
<Directory "/usr/share/trac/htdocs">
- Order allow,deny
- 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>
# TracModPython
<IfModule mod_env.c>
SetEnv TRAC_ENV_PARENT_DIR /var/lib/trac
</IfModule>
- 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>
</IfModule>
AuthName "trac"
AuthUserFile /etc/webapps/trac/htpasswd
Require valid-user
- Allow from all
</Location>
Name: trac
# NOTE 1.x is on DEVEL branch, finish it there and then merge
Version: 0.12.5
-Release: 4
+Release: 5
License: BSD-like
Group: Applications/WWW
Source0: http://ftp.edgewall.com/pub/trac/Trac-%{version}.tar.gz