newLISP Fan Club

Forum => So, what can you actually DO with newLISP? => Dragonfly => Topic started by: kanen on July 27, 2010, 08:04:37 AM

Title: Dragonfly and Lighttpd?
Post by: kanen on July 27, 2010, 08:04:37 AM
Anyone have a suggestion for getting web pages working with Lighttpd and Dragonfly?



In the case of PHP, it's pretty easy.
fastcgi.server = ( ".php" => ((
                     "bin-path" => "/usr/bin/php-cgi",
                     "socket" => "/tmp/php.socket"
                 )))


But, Dragonfly has me wondering what the best approach would be to make this happen.



I've read through the parts of Dragonfly which talk about setting up Apache, but -- obviously -- Lighttpd is a bit different.



Put another way -- Does anyone have an example lighttpd.conf file that works with Dragonfly.
Title: Re: Dragonfly and Lighttpd?
Post by: hilti on July 27, 2010, 09:28:00 AM
Hi Kanen,



although I've not installed lighttpd I think You've to fix to things when working with Dragonfly:



1. The included .htaccess doesn't work with lighttpd, because it's Apache syntax



Here are some hints on that

//http://redmine.lighttpd.net/boards/2/topics/1342

//http://stackoverflow.com/questions/62384/how-to-convert-apache-htaccess-files-into-lighttpd-rules



2. Then You need to get newLISP cgi working.



Hope that helps a bit.



Marc
Title: Re: Dragonfly and Lighttpd?
Post by: hilti on July 27, 2010, 09:28:37 AM
Hi Kanen,



although I've not installed lighttpd I think You've to fix two things when working with Dragonfly:



1. The included .htaccess doesn't work with lighttpd, because it's Apache syntax



Here are some hints on that

//http://redmine.lighttpd.net/boards/2/topics/1342

//http://stackoverflow.com/questions/62384/how-to-convert-apache-htaccess-files-into-lighttpd-rules



2. Then You need to get newLISP cgi working.



Hope that helps a bit.



Marc