Hi,
ich bin so ziemlich straight der Anleitung für
Gitweb auf archlinux.org gefolgt.
Mein nginx Server läuft, und testweise habe ich auch lighttpd am laufen. Nur leider wird mir einfach kein Prjekt angezeigt.
Hier mal meine configs
Pfade:
$ ls -il /srv/http/
insgesamt 12
6147 lrwxrwxrwx 1 root root 17 23. Jul 00:53 gitweb -> /usr/share/gitweb
...
$ ls -il ~/repositories/
insgesamt 4
272701 drwxr-xr-x 8 me me 4096 23. Jul 11:42 dev_repository.git
/etc/conf.d/gitweb.conf
our $git_temp = "/tmp";
# The directories where your projects are. Must not end with a slash.
our $projectroot = "/home/me/repositories";
# Base URLs for links displayed in the web interface.
our @git_base_url_list = qw(git://localhost http://git@localhost);
# Showing the author of each line in a source file
# $feature{'blame'}{'default'} = [1];
# Enable syntax highlighting with Gitweb
# $feature{'highlight'}{'default'} = [1];
/etc/lighttpd/lighttpd.conf
# This is a minimal example config
# See /usr/share/doc/lighttpd
# and http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ConfigurationOptions
server.port = 8080
server.username = "http"
server.groupname = "http"
server.document-root = "/srv/http"
server.errorlog = "/var/log/lighttpd/error.log"
dir-listing.activate = "enable"
index-file.names = ( "index.html" )
mimetype.assign = (
".html" => "text/html",
".txt" => "text/plain",
".css" => "text/css",
".js" => "application/x-javascript",
".jpg" => "image/jpeg",
".jpeg" => "image/jpeg",
".gif" => "image/gif",
".png" => "image/png",
"" => "application/octet-stream"
)
include "conf.d/fastcgi.conf"
server.modules += ( "mod_alias", "mod_cgi", "mod_redirect", "mod_setenv" )
setenv.add-environment = ( "GITWEB_CONFIG" => "/etc/conf.d/gitweb.conf" )
url.redirect += ( "^/gitweb$" => "/gitweb/" )
alias.url += ( "/gitweb/" => "/usr/share/gitweb/" )
$HTTP["url"] =~ "^/gitweb/" {
cgi.assign = ( ".cgi" => "" )
server.indexfiles = ( "gitweb.cgi" )
}
/etc/lighttpd/conf.d/fastcgi.conf
server.modules += ( "mod_fastcgi" )
index-file.names += ("index.php")
fastcgi.server = (
".php" => (
"localhost" => (
"socket" => "/run/php-fpm/php-fpm.sock",
"broken-scriptfilename" => "enable"
))
)
Ich hoffe, ich habe nichts vergessen. Eigentlich müsste ich doch gemäß der Anleitung wenigstens das dev_repository.git Projekt sehen, oder?
Liegt es möglicherweise an den Schreibrechten?
Zur Info: Mein git Server läuft auf nem RaspberryPi 2
Danke & Gruß
nordseebaer
P.S.: Ich hoffe, dass ich nicht im falschen Thread bin...