Xepher.net > Technical Support

Unity/WebGL Support?


I'd like to host projects done with the Unity game engine, but the Web player that engine is now using relies on some very specific HTML5 stuff rather than its old plugin. (Because browsers are phasing plugins out.) To make this system work it looks like I need to take the following advice about the server:

--- Quote ---> I have fixed this issue by opening my /etc/httpd/conf/httpd.conf apache configuration file, and going to the mime_module section. I replaced
> AddType application/x-gzip .gz .tgz
> with
> AddType application/x-gzip .gz .tgz .memgz .jsgz .datagz
> and now my browser is automatically decompressing the files when it gets them.
(Details are at http://answers.unity3d.com/questions/1235665/webgl-unusable-unknown-compression-method-when-loa.html if interested.)
--- End quote ---

I don't think I can do this on my end, since it looks like server configuration for the server itself and not for my corner of it. Would you be willing to make this change, please?

Sorry for the late reply, out of town.

You should be able to add that to your own .htaccess file. Just create it in the root of your public_html directory, and it'll be automatically read by the webserver. You can configure a large amount of stuff there, including (as far as I know) mime types. If you have trouble, let me know, and give me a URL/file to check against.


[0] Message Index

Go to full version