Skip to content

Preparing frontend web server

BizApp will serve via an entry file with extension .bcml (Bizcontract Markup Language). It is essential to identify the content type. We have taken this approach to pave for the future release of Bizcontract verification feature, where developer can display a decorated contract.

Below are steps required for webserver to serve the BCML content properly.

Apache

Add following to your .htaccess

AddType text/html bcml

NGINX

Edit /etc/nginx/mime.types , add

types {
    text/html    bcml;
}

Amazon S3

  1. Right click on your index.bcml
  2. Choose Change metadata
  3. Select Add Metadata from the menu
  4. Enter following: Key : Content-Type , Value: text/html