[Moin-user] Toplevel wiki with lighttpd

Sergiusz Pawlowicz sergiusz-dated-1147997767.c4a63f at pawlowicz.name
Sat May 13 17:22:04 EDT 2006


Moin docs describing lighttpd I wrote are sufficient, 
but I can repeat pasting my lighttpd.conf operating 
with fcgi mode, I move moin.fcgi file into go.to and:

$HTTP["host"] == "my.domain.com" {
	server.error-handler-404   = "/"
	url.rewrite = (
		"^/htdocs/(.*)$" => "/htdocs/$1",
		"^/favicon.ico" => "/favicon.ico",
		"^/?(.*)" => "/go.to/$1")
}

You should also run moin fcgi as daemon process, 
e.g. using djb utils:

[bajer at maszyna /]# cat /service/moin-all/run
#!/bin/sh
exec 2>&1
exec setuidgid lighttpd /www/my.domain.com/go.to 2>&1
sleep 5

-- 
S.




More information about the Moin-user mailing list