Enable mod proxy, proxy_http, and proxy_html. Change "alarmpi" to the name of your local server.
- Code: Select all
#
#
ProxyPass /socket.io http://alarmpi:5000/socket.io
ProxyPass /log http://alarmpi:5000/log
ProxyPass /static http://alarmpi:5000/static
ProxyPass /settings http://alarmpi:5000/settings
<Location /alarmdecoder/>
ProxyPass http://alarmpi:5000/
ProxyPassReverse /
ProxyHTMLEnable On
ProxyHTMLURLMap http://alarmpi:5000/ /alarmdecoder/
# ProxyHTMLURLMap / /alarmdecoder/
</Location>
#RewriteEngine on
#RewriteRule ^/alarmdecoder$ /alarmdecoder/ [R]
#
#