From: Bodo Schlecht <schlecht@superdigi.de>
To: git@vger.kernel.org
Subject: instaweb does not start because of a small syntax error in .git/gitweb/httpd.conf
Date: Sat, 18 Jul 2009 17:08:19 +0200 [thread overview]
Message-ID: <4A61E563.7000401@superdigi.de> (raw)
When I start instaweb with
git instaweb
I get this error:
Syntax error on line 8 of /media/disk1part4/Eigene Dateien/superdigi/superdigientwicklung/.git/gitweb/httpd.conf:
TypesConfig takes one argument, the MIME types config file
Could not execute http daemon apache2 -f.
Line 8 of /.git/gitweb/httpd.conf reads
TypesConfig /media/disk1part4/Eigene Dateien/superdigi/superdigientwicklung/.git/mime.types
As you see, there is a space in the path so it should be quotes:
TypesConfig "/media/disk1part4/Eigene Dateien/superdigi/superdigientwicklung/.git/mime.types"
In all other lines of http.conf the path is correctly in quotes:
ServerName "git-instaweb"
ServerRoot "/media/disk1part4/Eigene Dateien/superdigi/superdigientwicklung/.git/gitweb"
DocumentRoot "/media/disk1part4/Eigene Dateien/superdigi/superdigientwicklung/.git/gitweb"
PidFile "/media/disk1part4/Eigene Dateien/superdigi/superdigientwicklung/.git/pid"
Listen 127.0.0.1:4321
LoadModule mime_module /usr/lib/apache2/modules/mod_mime.so
LoadModule dir_module /usr/lib/apache2/modules/mod_dir.so
TypesConfig /media/disk1part4/Eigene Dateien/superdigi/superdigientwicklung/.git/mime.types
DirectoryIndex gitweb.cgi
LoadModule cgi_module /usr/lib/apache2/modules/mod_cgi.so
AddHandler cgi-script .cgi
<Location /gitweb.cgi>
Options +ExecCGI
</Location>
next reply other threads:[~2009-07-18 15:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-18 15:08 Bodo Schlecht [this message]
2009-07-18 16:45 ` [PATCH] Trivial path quoting fixes in git-instaweb Sean Estabrooks
2009-07-26 10:10 ` Eric Wong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A61E563.7000401@superdigi.de \
--to=schlecht@superdigi.de \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.