davidn70 Posted May 3, 2015 Posted May 3, 2015 Hello, Has anyone been able to successfully proxy their ISY-994 through an apache web server? I have other systems and devices that I have been able to make work. Basically I want to b able to do something like: http://myApacheWebServer/isy and have it proxy to: http://myIsy994 I can get the initial page to display but it does not function correctly. Thanks in advance! David
MustangChris04 Posted May 4, 2015 Posted May 4, 2015 I use IIS and was able to proxy successfully. Only thing that doesn't work is the device statuses in MobiLinc. In Apache, make sure to enable mod_header RewriteEngine On <Location /bridge/> ProxyPass http://myIsy994 ProxyPassReverse http://myIsy994 RequestHeader unset referer </Location>
MWareman Posted May 5, 2015 Posted May 5, 2015 Proxy access to the REST API works well - but the admin console and (as MustangChris04 noted) Mobilinc does not work so well. This is because the ISY uses a subscription mechanism that cannot be proxied to send status back to the (admin console / mobilinc) when devices change state. Personally, I have my ISY proxied for the REST API that I call from Tasker. This allows me to benefit from extremely fast SSL sessions - offloading the SSL from the ISY. This is my rule (I use name-based virtual hosts and have a wildcard certificate - IPs and host names changed): <VirtualHost *:443> ServerAdmin webmaster@isy.domain.com ServerName isy.domain.com ProxyRequests Off ProxyPreserveHost On ProxyHTMLEnable On ProxyHTMLExtended On KeepAlive On KeepAliveTimeout 5000 ProxyVia Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass / http://192.168.1.2/ CustomLog ${APACHE_LOG_DIR}/access.log combined ErrorLog ${APACHE_LOG_DIR}/error.log SSLEngine on SSLCertificateFile /etc/ssl/certs/certificate.pem SSLCertificateKeyFile /etc/ssl/private/certificate.key </VirtualHost>
Recommended Posts