Skip to content

Commit

Permalink
Add workaround for buggy emblaze plugin (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
cracyc authored Jun 5, 2022
1 parent bae8e92 commit 82a5cf3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 '<FilesMatch "\.(blz)$">' >>/etc/apache2/httpd.conf # work around buggy emblaze plugin
echo 'Header unset ETag' >>/etc/apache2/httpd.conf
echo '</FilesMatch>' >>/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
Expand Down

0 comments on commit 82a5cf3

Please sign in to comment.