You are not logged in.

#1 2010-10-24 20:38:03

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Gitweb/Lighttpd rewrite rules

I can't figure out how to setup lighttpd's rewrite rules to allow the human-readable urls for gitweb ($feature{'pathinfo'}{'default'} = [1];  in gitweb.conf). I found these Apache rewrite rules, but I'm stuck how to get it working with lighttpd.

RewriteEngine On
RewriteCond %{REQUEST_FILENAME}         !-f
#RewriteCond %{REQUEST_FILENAME}        !-d
RewriteRule ^.* /gitweb.cgi/$0          [L,PT]

By the way, I just updated the wiki with the lighttpd configuration for using gitweb.

Any ideas?

Thanks!
Scott

Last edited by firecat53 (2010-10-24 20:39:05)

Offline

#2 2010-10-27 18:42:24

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: Gitweb/Lighttpd rewrite rules

Any ideas on this?

Thanks!
Scott

Offline

Board footer

Powered by FluxBB