You are not logged in.
Pages: 1
Dear all,
I'm trying to run a werc website locally on my machine, but it's not that easy. When I open http://localhost in a browser, I only get the source file index.md as a text file, instead of the full werc interface. I use lighttpd as a webserver. My /etc/lighttpd/lighttpd.conf looks as follows:
server.port = 80
server.username = "http"
server.groupname = "http"
server.document-root = "/usr/werc/sites/default.cat-v.org"
server.pid-file = "/var/run/lighttpd/lighttpd.pid"
server.errorlog = "/var/log/lighttpd/error.log"
server.modules = ( "mod_cgi", "mod_alias", "mod_rewrite" )
index-file.names = ( "index.md" )
alias.url += ( "/werc.rc" => "/usr/werc/bin/werc.rc" ) # Here use the path to werc.rc in your system.
server.error-handler-404 = "/werc.rc"
cgi.assign = ( ".rc" => "")
dir-listing.activate = "disable"
mimetype.assign = ( ".html" => "text/html", ".md" => "text/plain", ".txt" => "text/plain", ".jpg" => "image/jpeg", ".png" => "image/png" )
I already say that, if I leave index-file.names = ( ), I get "The requested document at 'http://localhost/' doesn't exist", in a werc interface. Any suggestion?
Offline
Pages: 1