Skip to content
Snippets Groups Projects
Commit 285adc78 authored by Alain Reguera Delgado's avatar Alain Reguera Delgado
Browse files

Update welcome.conf to support content negotiation

parent d53c0c79
No related branches found
No related merge requests found
......@@ -6,13 +6,25 @@
# NOTE: if this file is removed, it will be restored on upgrades.
#
<LocationMatch "^/+$">
Options -Indexes
ErrorDocument 403 /.noindex.html
Options -Indexes
ErrorDocument 403 /noindex/index.html
</LocationMatch>
Alias /noindex /usr/share/httpd/noindex
<Directory /usr/share/httpd/noindex>
AllowOverride None
Require all granted
</Directory>
Options MultiViews
DirectoryIndex index.html
AddLanguage en-US .en-US
AddLanguage es-ES .es-ES
AddLanguage zh-CN .zh-CN
AddLanguage zh-HK .zh-HK
AddLanguage zh-TW .zh-TW
Alias /.noindex.html /usr/share/httpd/noindex/index.html
LanguagePriority en-US
ForceLanguagePriority Fallback
AllowOverride None
Require all granted
</Directory>
......@@ -783,8 +783,9 @@ rm -rf $RPM_BUILD_ROOT
%{_rpmconfigdir}/macros.d/macros.httpd
%changelog
* Tue May 21 2019 Alain Reguera Delgado <alain.reguera@gmail.com> - 2.4.37-12.el8.centos
* Sun May 26 2019 Alain Reguera Delgado <alain.reguera@gmail.com> - 2.4.37-12.el8.centos
- Remove index.html, add centos-noindex-8.0.tar.gz
- Update welcome.conf to support content negotiation based on locale
* Tue May 07 2019 CentOS Sources <bugs@centos.org> - 2.4.37-11.el8.centos
- Apply debranding changes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment