projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
755a2c5
)
Redirect trac requests to the right place.
author
Tom Hughes
<tom@compton.nu>
Mon, 20 Aug 2007 14:03:40 +0000
(14:03 +0000)
committer
Tom Hughes
<tom@compton.nu>
Mon, 20 Aug 2007 14:03:40 +0000
(14:03 +0000)
config/lighttpd.conf
patch
|
blob
|
history
diff --git
a/config/lighttpd.conf
b/config/lighttpd.conf
index 0a6840e4bb0720d3a8e9e7f27caab9ec159a8c80..7395a4b08867e1fd1b0635a8909d8737a94f8184 100644
(file)
--- a/
config/lighttpd.conf
+++ b/
config/lighttpd.conf
@@
-82,9
+82,12
@@
compress.filetype = (
compress.cache-dir = "/var/cache/lighttpd"
#
-# Redirect
wiki requests to the wiki
+# Redirect
trac and wiki requests to the right places
#
-url.redirect = ( "^/wiki/(.*)$" => "http://wiki.openstreetmap.org/$1" )
+url.redirect = (
+ "^/trac/(.*)$" => "http://trac.openstreetmap.org/$1",
+ "^/wiki/(.*)$" => "http://wiki.openstreetmap.org/$1"
+)
#
# Serve static content from the rails public area ourselves