Yet another hgweb config question

Peter Hosey boredzo at gmail.com
Thu Nov 6 09:10:57 UTC 2008


On Nov 06, 2008, at 01:06:06, Patrick Waugh wrote:
> RewriteEngine On
> RewriteBase /repo
> RewriteRule ^$ hgwebdir.cgi [L]
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteRule (.*) hgwebdir.cgi/$1 [QSA,L]

Wouldn't this work just as well?

	DirectoryIndex hgwebdir.cgi




More information about the Mercurial mailing list