projects
/
matthijs
/
servers
/
drsnuggles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f32993
)
lighttpd: Redirect git.stderr.nl/*.git to /data/vcs/git.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Mon, 5 Jan 2009 14:48:12 +0000
(15:48 +0100)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Mon, 5 Jan 2009 14:48:12 +0000
(15:48 +0100)
This replaces the symlink in the htdocs directory and removes the /git/
from the url.
etc/lighttpd/vhosts/stderr-nl
patch
|
blob
|
history
diff --git
a/etc/lighttpd/vhosts/stderr-nl
b/etc/lighttpd/vhosts/stderr-nl
index 71089a9d808eb8f21660d9def581b7b645859ec1..20d325e1e00befff6535dfa896dc230ad9534020 100644
(file)
--- a/
etc/lighttpd/vhosts/stderr-nl
+++ b/
etc/lighttpd/vhosts/stderr-nl
@@
-20,6
+20,9
@@
$HTTP["host"] =~ ".stderr.nl$" {
$HTTP["url"] =~ "^/gitweb(/.*)?$" {
alias.url += ( "/gitweb" => "/usr/lib/cgi-bin/gitweb.cgi" )
}
+ $HTTP["url"] =~ ".git/" {
+ alias.url += ( "/" => "/data/vcs/git/" )
+ }
}
$HTTP["host"] =~ "indigetes.stderr.nl$" {