Bug 471692 - include DirectoryIndex in gitweb httpd-config
Summary: include DirectoryIndex in gitweb httpd-config
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: git
Version: 10
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Chris Wright
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-15 00:52 UTC by Gerd v. Egidy
Modified: 2013-01-10 10:28 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-12 03:09:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Gerd v. Egidy 2008-11-15 00:52:56 UTC
When using the /etc/httpd/conf.d/git.conf that is currently provided with the gitweb-package, you have to open
http://<server>/git/gitweb.cgi

Adding the .../gitweb.cgi makes the URL longer and more complex.

So I propose to change the config like this:

Alias /git /var/www/git

<Directory /var/www/git>
  Options +ExecCGI
  AddHandler cgi-script .cgi
  DirectoryIndex gitweb.cgi
</Directory>

Adding the DirectoryIndex-directive makes it possible to call
http://<server>/git
which makes the urls shorter and easier to use.

Comment 1 Bug Zapper 2008-11-26 05:24:46 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Todd Zullinger 2009-01-12 03:09:32 UTC
Gerd,

This is fixed in the rawhide packages now.  It will hopefully find its way into an F-10 update at some point.  Thanks!

Comment 3 Gerd v. Egidy 2009-01-12 16:38:09 UTC
Hi Todd,

just took a look at 1.6.1-1.fc11 in koji and it looks good. Thank you for adding this.


Note You need to log in before you can comment on or make changes to this bug.