Changes between Version 6 and Version 7 of server_installation
- Timestamp:
- Nov 20, 2015, 4:29:25 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
server_installation
v6 v7 25 25 }}} 26 26 27 Once that the server has started, it is available on http://localhost:8080/radar/. Note that the server is just listening on the local interface and not (yet) accessible over the network. This is for security reason. 27 Note that the server is just listening on the local interface and is not (yet) accessible over the network. Once that the server has started you should be able to see the web interface on http://localhost:8080/radar. 28 29 Choose the Station->Demo to start a demonstration session and verify that the server installation is working correctly. 30 28 31 29 32 ==== Finish up the installation ==== 30 33 34 We use an apache webserver as a reverse proxy to make the Flarmradar server available on the network. If not already done, install the Apache Webserver and enable the required modules 31 35 36 {{{ 37 $ sudo -i apt-get install apache2 38 $ sudo -i a2enmod rewrite proxy_http 39 }}} 40 41 Next we need to configure our reverse proxy. We want all requests for /radar and /rest to be directed to our Flarmradar server running on http://localhost:8080. Add the following stampa to your virtual host. 42 43 {{{ 44 # 45 # Rewrite Rules for Flarmradar 46 # 47 RewriteEngine On 48 49 RewriteLog /var/log/apache2/www.flarmradar.ch.rewrite.log 50 RewriteLogLevel 0 51 RewriteRule ^/radar(.*)$ http://localhost:8080/radar$1 [P] 52 RewriteRule ^/rest(.*)$ http://localhost:8080/rest$1 [P] 53 54 ProxyRequests Off 55 ProxyPassReverse /radar/ http://localhost:8080/radar/ 56 ProxyPassReverse /rest/ http://localhost:8080/rest/ 57 }}} 58 59 ... and finally restart the webserver to read the new configuration 60 61 {{{ 62 $ sudo -i service apache2 restart 63 }}}