Let's Try This Again - Yet another attempt to host WebGL Content

After several failed attempts, I gave up for some time with this, but do still need it.

I have uploaded the entire project to the root of the domain: briggsmotors.co.uk - a spare domain I have.

So under briggsmotors.co.uk/index.html should be our game build (a portfolio piece I did to test out a model viewer), but there is nothing.

In Chrome (only one that picks it up), by looking in the F12 console, you see 4 errors:

Failed to load resource: the server responded with a status of 404 (Not Found) http://briggsmotors.co.uk/Release/fileloader.js

Failed to load resource: the server responded with a status of 404 (Not Found) http://briggsmotors.co.uk/Release/UnityConfig.js

Failed to load resource: the server responded with a status of 404 (Not Found) http://briggsmotors.co.uk/Release/1ShinyTiles.js

Failed to load resource: the server responded with a status of 404 (Not Found) http://briggsmotors.co.uk/favicon.ico

Upon checking these links, I get the same message each time:

HTTP Error 404.3 - Not Found
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.

Now I am not sure what this means, but as far as I can see, it is asking for a write rule for the MIME types.

In my .htaccess file (in the root) is this:

Options +FollowSymLinks
RewriteEngine on

RewriteCond %{HTTP:Accept-encoding} gzip
RewriteRule (.)Release(.).js $1Compressed$2.jsgz [L]
RewriteRule (.)Release(.).data $1Compressed$2.datagz [L]
RewriteRule (.)Release(.).mem $1Compressed$2.memgz [L]
RewriteRule (.)Release(.).unity3d $1Compressed$2.unity3dgz [L]
AddEncoding gzip .jsgz
AddEncoding gzip .datagz
AddEncoding gzip .memgz
AddEncoding gzip .unity3dgz

So it should be able to access them as far as I can see, but it can’t.

Anyone with information on this ridiculous and unstable build PLEASE help me with this, thanks.

Assuming you deployed the \Release folder as well, do the links work if you take out the rewrite rules (as a test) ?

Nevermind, it looks like you’re hosting this on an IIS server. Those rules (and .htaccess) are for Apache.