Package: gitweb Version: 1:1.7.2.3-2.2 Severity: wishlist Files: /etc/apache2/conf.d/gitweb
Hi, Ever since git 1.6.6.1, the gitweb package has provided a gitweb instance at http://localhost/gitweb/ out of the box, which is great. The URLs it makes are "old fashioned", like this: http://localhost/gitweb/?p=hello.git;a=summary I would rather use the fancy questionmarkless URLs of the sort repo.or.cz uses: http://repo.or.cz/w/hello.git So I tried by enabling that feature in /etc/gitweb.conf. gitweb's README informs me that all I need to do is add $feature{'pathinfo'}{'default'} = [1]; to my gitweb.conf, and if the web server is set up right, the feature will kick in. More precisely, setting this up right means <Directory /var/www/gitweb> Options ExecCGI AddHandler cgi-script cgi DirectoryIndex gitweb.cgi RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^.* /gitweb.cgi/$0 [L,PT] </Directory> Would that be reasonable to do this out of the box, or would it break the non-questionmarkless configuration somehow? Any advice would be appreciated. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org