summaryrefslogtreecommitdiff
path: root/tntconfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tntconfig.cpp')
-rw-r--r--tntconfig.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tntconfig.cpp b/tntconfig.cpp
index f047399..04add46 100644
--- a/tntconfig.cpp
+++ b/tntconfig.cpp
@@ -35,6 +35,7 @@ void TntConfig::WriteConfig()
// XXX modularize
file << "MapUrl ^/$ login@" << endl;
+ file << "MapUrl /([^/]+/.+) content@ $1" << endl;
file << "MapUrl /([^.]+)(\\..+)? $1@" << endl;
file << "PropertyFile " << m_propertiesPath << endl;
file << "SessionTimeout 86400" << endl;