From: "J. Bakshi" <joydeep@infoservices.in>
To: git@vger.kernel.org
Subject: git over http configuration problem
Date: Mon, 6 Sep 2010 12:01:44 +0530 [thread overview]
Message-ID: <20100906120144.19b2923c@debian> (raw)
Hello,
I am a newbie in git technology, please bear with me. I am interested to implement git over http along with gitweb.
At first I have already created a demo git repository in the server , After restating apache I can see gitweb at http://192.168.1.1/gitweb
Here is the apache related configuration
```````````````
Alias /gitweb /var/gitdir/
RewriteEngine On
RewriteRule ^gitweb$ gitweb/ [R]
SetEnv GITWEB_CONFIG /etc/gitweb.conf
<Directory "/var/gitdir/">
AllowOverride AuthConfig
Options +ExecCGI +Indexes
Order allow,deny
Allow from all
DirectoryIndex gitweb.cgi
SetEnv GITWEB_CONFIG "/etc/gitweb.conf"
AddHandler cgi-script .cgi
</Directory>
``````````````````````````
webdav is successfully running in this server for some other project. I have setup webdav for git like
`````````
<IfModule mod_dav_svn.c>
<Location /myproject.git>
Dav on
AuthType Basic
AuthName "My repo with git"
AuthUserFile /home/svn/PASSWORD
<Limitexcept GET HEAD PROPFIND OPTIONS REPORT>
Require valid-user
</Limitexcept>
</Location>
</IfModule>
```````````````
Now testing with cadaver
`````````````````
cadaver https://192.168.1.1/gitweb/test.git
Authentication required for Write access requires a password on server `192.168.1.1':
Username: svnadmin
Password:
Could not open collection:
404 Not Found
``````````````````````
I think there are some configuration problem which can't find the correct location/path. Could anyone kindly enlighten me, actually where the problem is ? Here is /etc/gitweb.conf
````````````````````````
$feature{'blame'}{'default'} = [undef];
$feature{'pickaxe'}{'default'} = [undef];
$feature{'search'}{'default'} = [undef];
$feature{'grep'}{'default'} = 1;
$feature{'snapshot'}{'default'} = ['tgz', 'gzip', 'zip'];
$feature{'snapshot'}{'override'} = 1;
# path to git projects (<project>.git)
$projectroot = "/home/git";
# directory to use for temp files
$git_temp = "/tmp";
$projects_list = $projectroot;
$export_ok = "";
$strict_export = "true";
$site_name = "The Average Geek's Git Repo";
$fallback_encoding = 'utf-8';
@stylesheets = ("gitweb.css");
$projects_list_description_width = 50;
``````````````````````````````````
Thanks for your time
reply other threads:[~2010-09-06 6:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20100906120144.19b2923c@debian \
--to=joydeep@infoservices.in \
--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.