Z-Wave the public standard

How to work different ports with CORS or wihout CORS


Hello everyone, Im web developer and currently working with Zware Web Portal with our User Interface Application. ZWare Web Portal and gateway very well working. Web Portal serving *:8085 our custom application working *:8086. Zware Portal and our custom app working same developer brc board. I edited httpd-zweb.conf

<VirtualHost :8085>
Header always set Access-Control-Allow-Origin "
Header always set Access-Control-Allow-Methods “POST, GET, OPTIONS, DELETE, PUT”
Header always set Access-Control-Max-Age “1000”
Header always set Access-Control-Allow-Headers “x-requested-with, Content-Type, origin, authorization, accept, client-security-token”

RewriteEngine On
RewriteRule ^(.*)$ $1 [R=200,L]

Header always set Access-Control-Allow-Credentials true

MY CORS Setup looking good from apache server side. I created device-controller.js in our client app and inspired Z-Ware Web Developer Guide for SDK 1.11 I was stacked 9 day. How to receive data from zware api with Allow Cross Origin * (same local different ports)

Anoter opinion. How to install custom another custom web server with php7.