Emoncms and Lighttpd?

Hi warpme,

i have tried some regex and now emoncms is running on my raspberry pi 2 served by lighttpd.

Enable mod_rewrite in lighttpd.conf

path to my emoncms-Installation: ( installed via git pull , install via apt-get not preferred → apt will install apache2 and some other modules i don’t need !)

/var/www/html/emoncms

put the following code to the end of the lighttpd.conf-file, you have to change it for your installation-environment(replace /emoncms/ with your needs)

url.rewrite-if-not-file = (
“^/emoncms/([^?])?(.)$” => “/emoncms/index.php?q=$1”,
“^/emoncms/([^?])$" => “/emoncms/index.php?q=$1”,
"^/emoncms/([^?]
)(?(.+))?$” => “/emoncms/index.php?q=$1”
)

voila, emoncms should now be running correctly on your raspberry pi with lighttpd-server!

so long

revil.o