EFForg / OpenWireless

The official home of the EFF OpenWireless Project
Other
732 stars 80 forks source link

Consolidate lighttpd configurations #257

Closed akiellor closed 9 years ago

akiellor commented 9 years ago

Pre-requisite for #239 (enable error and/or access logs for lighttpd)

This PR consolidates the lighttpd configuration between local-dev and the router. This has been achieved by:

Templating encourages dev and router configurations to remain as similar as possible without excessive duplication.

The conf.d directory allows for the configuration to be split into sections relevant for particular features/modules without having to modify the main configuration file. This is also useful for loading the development only configurations (fake uci.py and run.py).

This PR also removes the redundant example module configurations from /etc/lighttpd/conf.d.

NOTE: This has been tested using local-dev and image builder built firmware, as of 12/01/2014 the source build is broken and thus could not be tested, #180 or #176 should fix this