Ah, interesting point... I think the solution is to remove any mention of the domain name from the sitemap urls, and instead use urls relative to the domain's root, not sure why it is this way.
The fix consisted of deleting one word from tpl/sitemap.tpl and I committed it to the werc-dev branch. A bit harder will be to fix sitemap.txt, because those urls are required to include the domain name, but if you are not running your server on port 80 you probably don't care much about how Google crawls it? In any case, there could well be other broken stuff, although the suckless.org people I think ran a werc installation on a port other than 80 for their 'sandbox' wiki, so maybe it mostly works :) but if you find any other issues, please post about it and I'll be happy to try to fix them. Regarding 9base, I really would recommend avoiding it, it is very outdated. I'm working on a replacement that should lessen some of the pain of depending on p9p, in the meantime it should be trivial to install p9p on another box and copy over the binaries. Thanks for your bug report. Peace uriel On Jul 24, 11:49 pm, Brian Zhou <[email protected]> wrote: > 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 athttp://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 -~----------~----~----~----~------~----~------~--~---
