From 82a5cf36af8d5e8031b2534e1ce2d03b14b94c13 Mon Sep 17 00:00:00 2001 From: cracyc Date: Sun, 5 Jun 2022 17:18:23 -0500 Subject: [PATCH] Add workaround for buggy emblaze plugin (#6) --- setup.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index cec4edb..d4e7dbc 100755 --- a/setup.sh +++ b/setup.sh @@ -70,7 +70,9 @@ echo 'ServerName flashpointvm' >>/etc/apache2/httpd.conf echo 'SetEnv force-response-1.0' >>/etc/apache2/httpd.conf # required for certain Shockwave games, thanks Tomy echo 'SetEnvIf Remote_Addr "::1" dontlog' >>/etc/apache2/httpd.conf # disable logging of Apache's dummy connections echo 'ProxyPreserveHost On' >>/etc/apache2/httpd.conf # keep "Host" header when proxying requests to legacy server - +echo '' >>/etc/apache2/httpd.conf # work around buggy emblaze plugin +echo 'Header unset ETag' >>/etc/apache2/httpd.conf +echo '' >>/etc/apache2/httpd.conf # hack: fix mime types for requests from legacy server sed -i 's/exe dll com bat msi/exe dll bat msi/g' /etc/apache2/mime.types sed -i 's|application/vnd.lotus-organizer|# application/vnd.lotus-organizer|g' /etc/apache2/mime.types