ref: c7266dcc727e772e15aad3b91c19ecefc6a7f53c
parent: d97b856b26a1c5d2a467c006b3e8ebb677567e1e
author: uriel <uriel@engel.se.cat-v.org>
date: Sun Jan 4 18:24:35 EST 2009
Fix stupid bug in last commit.
--- a/bin/werc.rc
+++ b/bin/werc.rc
@@ -195,7 +195,7 @@
if(! ~ $#args 0)
pageTitle=`{ echo $args|sed -e 's/ / - /g' -e 's/_/ /g' }
-if(~ $req_path '/index')
+if(~ $req_path */index)
perm_redirect `{echo $req_path | sed 's,/index$,/,'}
if(~ $local_path */)