diff --git a/website/camweb.go b/website/camweb.go index 99b1fa0ce..fb0454c03 100644 --- a/website/camweb.go +++ b/website/camweb.go @@ -184,6 +184,11 @@ func main() { Cgi: &CgiHandler{ExecutablePath: *gitwebScript}, Static: http.FileServer(*gitwebFiles, "/code/"), }) + // For now, also register this alias for convenience. + // Some distros' default gitweb config links to resources + // in the current directory but Lucid links to /gitweb/ instead. + // TODO: specify a gitweb config file. + mux.Handle("/gitweb/", http.FileServer(*gitwebFiles, "/gitweb/")) } mux.HandleFunc("/", mainHandler)