Skip to content

Commit 80aa0d8

Browse files
committed
Drop legacy Order/Allow directives from cgit.conf
Require all granted above already covers access control; the mod_access_compat fallback is no longer needed.
1 parent 7992c9a commit 80aa0d8

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

  • recipes/files/etc/apache2/conf-available

recipes/files/etc/apache2/conf-available/cgit.conf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,4 @@ RedirectMatch ^/cgit$ /cgit/
1515
RewriteCond %{QUERY_STRING} (?:^|&)id=([0-9a-fA-F]{40})
1616
RewriteRule ^/ruby\.git/plain/(.*)$ https://github.com/ruby/ruby/raw/%1/$1 [R=302,L,NE,QSD]
1717
RewriteRule ^/ruby\.git/plain/(.*)$ https://github.com/ruby/ruby/raw/master/$1 [R=302,L,NE,QSD]
18-
19-
Order Allow,Deny
20-
Allow from all
2118
</Directory>

0 commit comments

Comments
 (0)