gitweb の設定をしてみたのですが、ページを読み込んでみると変な感じになってしまいます...
編集:人々が誤解した場合に備えて、これは次のようになります。
これは私のlighttpd設定ファイルがどのように見えるかです:
server.port = 80
server.username = "http"
server.groupname = "http"
server.document-root = "/usr/share/gitweb"
server.errorlog = "/var/log/lighttpd/error.log"
dir-listing.activate = "enable"
index-file.names = ( "gitweb.cgi" )
cgi.assign = (
".cgi" => ""
)
mimetype.assign = (
".html" => "text/html",
".txt" => "text/plain",
".jpg" => "image/jpeg",
".png" => "image/png"
)
server.modules += (
"mod_cgi",
"mod_setenv"
)
setenv.add-environment = (
"GITWEB_CONFIG" => "/etc/conf.d/gitweb.conf"
)
gitweb.conf は次のようになります。
$git_temp = "/tmp";
# The directories where your projects are. Must not end with a slash.
$projectroot = "/path/to/projects";
# Base URLs for links displayed in the web interface.
our @git_base_url_list = qw(git://localhost http://git@localhost);
(/path/to/projects
あなたにアイデアを与えるだけです。)
を使用するgit instaweb
と、使用しようとしている新しい gitweb.css ファイルを無視しているように見えますが、うまくいくようです。編集:キャッシュを更新しなかったためです。
何か案は?