Skip to content
Ycarus edited this page Oct 3, 2017 · 6 revisions

Lighttpd configuration

All distribution

  • You need to enable mod_rewrite and mod_access in server.modules section.
  • Set server.document-root to FlightAirMap path. ex: server.document-root = "/var/www/flightairmap"
  • Enable PHP, include "mod_fastcgi.conf"
  • Include the FlightAirMap conf: include "/var/www/flightairmap/install/flightairmap-lighttpd-conf.include"

Debian/Raspbian

# apt-get install php7-cgi lighttpd
# cp /var/www/flightairmap/install/89-flightairmap-lighttpd.conf /etc/lighttpd/conf-available
# lighty-enable-mod flightairmap-lighttpd
# service lighttpd force-reload

You may need to change path in 89-flightairmap-lighttpd.conf

Clone this wiki locally