Merge "Update mirror apache configs to 2.4 acl primitives"

This commit is contained in:
Zuul 2020-10-25 23:44:09 +00:00 committed by Gerrit Code Review
commit 5d7c8f1b46

View File

@ -33,12 +33,7 @@ ErrorLogFormat "[%{cu}t] [%-m:%l] [pid %P:tid %T] %7F: %E: [client\ %a] %M% , \
<Directory /var/www/mirror> <Directory /var/www/mirror>
Options Indexes FollowSymLinks MultiViews Options Indexes FollowSymLinks MultiViews
AllowOverride None AllowOverride None
Order allow,deny Require all granted
allow from all
Satisfy any
<IfVersion >= 2.4>
Require all granted
</IfVersion>
</Directory> </Directory>
# Caching reverse proxy for things that don't make sense in AFS # Caching reverse proxy for things that don't make sense in AFS
@ -153,8 +148,7 @@ ErrorLogFormat "[%{cu}t] [%-m:%l] [pid %P:tid %T] %7F: %E: [client\ %a] %M% , \
<Macro ProxyMirror $port> <Macro ProxyMirror $port>
# Disable directory listing by default. # Disable directory listing by default.
<Directory /> <Directory />
Order Deny,Allow Require all denied
Deny from all
Options None Options None
AllowOverride None AllowOverride None
</Directory> </Directory>
@ -328,8 +322,7 @@ ErrorLogFormat "[%{cu}t] [%-m:%l] [pid %P:tid %T] %7F: %E: [client\ %a] %M% , \
<Macro Dockerv2Mirror $port> <Macro Dockerv2Mirror $port>
# Disable directory listing by default. # Disable directory listing by default.
<Directory /> <Directory />
Order Deny,Allow Require all denied
Deny from all
Options None Options None
AllowOverride None AllowOverride None
</Directory> </Directory>
@ -397,8 +390,7 @@ ErrorLogFormat "[%{cu}t] [%-m:%l] [pid %P:tid %T] %7F: %E: [client\ %a] %M% , \
<Macro RHRegistryMirror $port> <Macro RHRegistryMirror $port>
# Disable directory listing by default. # Disable directory listing by default.
<Directory /> <Directory />
Order Deny,Allow Require all denied
Deny from all
Options None Options None
AllowOverride None AllowOverride None
</Directory> </Directory>
@ -463,8 +455,7 @@ ErrorLogFormat "[%{cu}t] [%-m:%l] [pid %P:tid %T] %7F: %E: [client\ %a] %M% , \
# Disable directory listing by default. # Disable directory listing by default.
<Directory /> <Directory />
Order Deny,Allow Require all denied
Deny from all
Options None Options None
AllowOverride None AllowOverride None
</Directory> </Directory>