News:

The anti-spam plugins have stopped being effective. Registration is back to requiring approval. After registering, you must ALSO email me with your username, so that I can manually approve your account.

Main Menu

Unity/WebGL Support?

Started by kschnee, September 17, 2016, 11:41:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kschnee

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.)

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?

Xepher

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.