x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

HTML5 TO IIS SERVER

HI how do I make my HTML5 shipping build work on an IIS Server for public browsers?

Product Version: Not Selected
Tags:
more ▼

asked Mar 08 '17 at 11:30 PM in Packaging & Deployment

avatar image

Naveen S
1 2 5 5

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

The current builds should work out of the box on IIS. Is there some specific error you are seeing?

One thing to note in particular is that the current builds are configured to download uncompressed files by default, which is not ideal for network transfer bandwidth performance. To optimize this by serving precompressed files (the ones that end in "gz"), IIS will require custom configuration to set "Content-Encoding: gzip" header on the gz files. See here for how to configure the precompressed gzip files:

http://answers.unity3d.com/questions/847635/correctly-configuring-iis7-to-serve-gzipped-conten.html

In addition to that configuration, the main .html file will need to add a line

Module.locateFile: function(url) { return url + 'gz'; }

right after the Module object is defined to make the page download the gz variants.

In future, I believe UE4 will default to serving precompressed files out of the box, so changes to the .html side will not be needed, but the IIS side configuration will still need to be done.

more ▼

answered Mar 09 '17 at 01:26 PM

avatar image

juj
1.2k 15 4 17

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question