Hims
February 11, 2015, 11:02am
1
Hello Fellas,
i want to access the html file of the web build using the link and from a wordpress page.
i am getting following errors.
1)i am getting an internal server error when i access the link in a browser.
following another error i am getting when i embed the web build in a wordpress page.
please go through these two errors and link to let me know what can be wrong ??
if any one has all ready done this then please help me to access the web build online.
Thanks in Advance,
Hims
Hims
February 12, 2015, 6:54am
3
I have been able to solve this.
you need to set the MIME type in web.config file.
in web.config’s , the extension for the file be ‘unity’ only , it should not be ‘unity3d’.
and the file sub type should be ‘unity’ instead ‘unity3d’.
here is the code to set the MIME type.
<configuration>
<system.webServer>
<staticContent>
<mimeMap fileExtension=".unity" mimeType="application/unity" />
</staticContent>
</system.webServer>
</configuration>