0
IIS Configuration (Required)
eneerge edited this page 2019-08-03 02:47:10 -05:00
After installing in an IIS environment, PrivateBin may not load properly. Upon checking the browser console, it may report the following error:
Compile error: wasm validation error: at offset 4: failed to match magic number
This occurs when ".wasm" has not been added to the list of supported MIME types in IIS. IIS versions 8.5 and earlier do NOT have this type configured by default.
To fix:
- Open IIS Manager
- Navigate to the Root node (alternatively, you can navigate to the individual site instance)
- Open the "MIME Types" feature
- From the "Actions" sidebar on the right, click "Add"
- File name extension: .wasm
- MIME type: application/wasm
- Click OK