I just did some preliminary test of installing and running werc on
linux NAS. Currently it is using 9base's rc (there might be some
command missing in 9base).

Installation is simple, just "ipkg install werc lighttpd perl". The
packages will appear soon at http://ipkg.nslu2-linux.org/feeds/optware/

Configuration in /opt/etc/lighttpd/conf.d/02-werc.conf

setenv.add-environment = ("PLAN9"=>"/opt/lib/9base")

$HTTP["host"] =~ "^fqdn:8081$" {
    index-file.names = ( )
    server.error-handler-404 = "/werc.rc"
    alias.url       += ( "/werc.rc" => "/opt/share/www/werc/bin/
werc.rc" )
    cgi.assign += ( ".rc" => "")
    server.dir-listing = "disable"
}

One problem I noticed, since lighttpd by default runs on port 8081 to
avoid conflict with NAS management web interface, the URL of the
sitemap are all without port which defaults to 80. Is there a way to
add the port component if it's not 80?

-Brian Zhou
bzhou at nslu2 dash linux dot org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"werc" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/werc9?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to