mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 08:00:02 -06:00
Move ETag disabling to /ipa virtual server
This moves the ETag disabling so that it's specific to the /ipa virtual server rather than being applied to all virtual servers on the machine. This enables better co-existence with other virtual servers that want ETags. Signed-off-by: Brian J. Murrell <brian@interlinx.bc.ca> Reviewed-By: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Petr Vobornik <pvoborni@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
parent
bfd1170118
commit
d7c23a3ba6
@ -1,5 +1,5 @@
|
||||
#
|
||||
# VERSION 27 - DO NOT REMOVE THIS LINE
|
||||
# VERSION 28 - DO NOT REMOVE THIS LINE
|
||||
#
|
||||
# This file may be overwritten on upgrades.
|
||||
#
|
||||
@ -35,12 +35,6 @@ AddOutputFilterByType DEFLATE text/html text/plain text/xml \
|
||||
application/javascript application/json text/css \
|
||||
application/x-font-ttf
|
||||
|
||||
# Disable etag http header. Doesn't work well with mod_deflate
|
||||
# https://issues.apache.org/bugzilla/show_bug.cgi?id=45023
|
||||
# Usage of last-modified header and modified-since validator is sufficient.
|
||||
Header unset ETag
|
||||
FileETag None
|
||||
|
||||
# FIXME: WSGISocketPrefix is a server-scope directive. The mod_wsgi package
|
||||
# should really be fixed by adding this its /etc/httpd/conf.d/wsgi.conf:
|
||||
WSGISocketPrefix $WSGI_PREFIX_DIR
|
||||
@ -95,6 +89,12 @@ WSGIScriptReloading Off
|
||||
# legacy clients, the unset here works because it ends up unsetting only one
|
||||
# of the 2 header tables set by mod_session, leaving the other intact
|
||||
Header unset Set-Cookie
|
||||
|
||||
# Disable etag http header. Doesn't work well with mod_deflate
|
||||
# https://issues.apache.org/bugzilla/show_bug.cgi?id=45023
|
||||
# Usage of last-modified header and modified-since validator is sufficient.
|
||||
Header unset ETag
|
||||
FileETag None
|
||||
</Location>
|
||||
|
||||
# Target for login with internal connections
|
||||
|
Loading…
Reference in New Issue
Block a user