From: Jakub Narebski <jnareb@gmail.com>
To: Gurjeet Singh <singh.gurjeet@gmail.com>
Cc: git@vger.kernel.org, Eric Wong <normalperson@yhbt.net>,
Jakub Narebski <jnareb@gmail.com>
Subject: Re: Having some problem with instaweb
Date: Thu, 23 Jun 2011 01:23:05 -0700 (PDT) [thread overview]
Message-ID: <m3iprx554t.fsf@localhost.localdomain> (raw)
In-Reply-To: <BANLkTim6gLg_-UdG36TXWS0Mfj3MOAQ_3w@mail.gmail.com>
CC-ing Eric Wong, author of git-instaweb.
Gurjeet Singh <singh.gurjeet@gmail.com> writes:
> I am on Linux Mint 10 and I tried the following command:
>
> $ git instaweb -d apache2 -p 1234 --start
> Syntax error on line 1 of /mnt/storage/gurjeet/.git/gitweb/httpd.conf:
> Invalid command 'server.document-root', perhaps misspelled or defined
> by a module not included in the server configuration
> Could not execute http daemon apache2 -f.
Hmmm... it looks like starts apache2, but generates config file
(httpd.conf) for lighttpd instead.
Ahh... actually you started apache2, but didn't generate configuration
file for it, so git-instaweb re-uses previous config file... which by
default is lighttpd:
start, --start
Start the httpd instance and exit. This does not generate any of the
configuration files for spawning a new instance.
Try using
$ git instaweb -d apache2 -p 1234 -b lynx
then exiting web browser.
BTW. I think that git-instaweb should be more helpful here... will
investigate.
> /mnt/storage/gurjeet/ is my $HOME.
Nb. it doesn't mater where $HOME is, but where is git repository you
were in when calling git-instaweb.
BTW. in the future it would be good idea to tell what git version are
you using.
--
Jakub Narebski
Poland
ShadeHawk on #git
next prev parent reply other threads:[~2011-06-23 8:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-23 1:06 Having some problem with instaweb Gurjeet Singh
2011-06-23 8:23 ` Jakub Narebski [this message]
2011-06-23 11:48 ` Gurjeet Singh
2011-06-23 19:29 ` Jakub Narebski
2011-06-23 19:50 ` [PATCH 0/4] git-instaweb: Improving handling of --start/--restart Jakub Narebski
2011-06-23 19:55 ` [PATCH 1/4] git-instaweb: Extract configuring web server into configure_httpd Jakub Narebski
2011-06-23 19:56 ` [PATCH 2/4] git-instaweb: Use $conf, not $fqgitdir/gitweb/httpd.conf Jakub Narebski
2011-06-23 20:59 ` [PATCH 3/4] git-instaweb: Move all actions at the end of script Jakub Narebski
2011-06-23 21:01 ` [PATCH 4/4] git-instaweb: Check that correct config file exists for (re)start Jakub Narebski
2011-06-28 3:22 ` [PATCH 0/4] git-instaweb: Improving handling of --start/--restart 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=m3iprx554t.fsf@localhost.localdomain \
--to=jnareb@gmail.com \
--cc=git@vger.kernel.org \
--cc=normalperson@yhbt.net \
--cc=singh.gurjeet@gmail.com \
/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.