author | Tero Marttila <terom@fixme.fi> |
Sat, 07 Feb 2009 06:54:52 +0200 | |
branch | sites |
changeset 30 | a86a25a9f75b |
child 31 | 107062ebb6f9 |
permissions | -rw-r--r-- |
30
a86a25a9f75b
route requests through sites/www.qmsk.net, although still hardcoded
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
1 |
""" |
a86a25a9f75b
route requests through sites/www.qmsk.net, although still hardcoded
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
2 |
The www.qmsk.net site is just a simple site with a filesystem-based URL mapping |
a86a25a9f75b
route requests through sites/www.qmsk.net, although still hardcoded
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
3 |
""" |
a86a25a9f75b
route requests through sites/www.qmsk.net, although still hardcoded
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
4 |
|
a86a25a9f75b
route requests through sites/www.qmsk.net, although still hardcoded
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
5 |
from lib.map import fstree |
a86a25a9f75b
route requests through sites/www.qmsk.net, although still hardcoded
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
6 |
|
a86a25a9f75b
route requests through sites/www.qmsk.net, although still hardcoded
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
7 |
build_mapper = lambda: fstree("site/www.qmsk.net") |
a86a25a9f75b
route requests through sites/www.qmsk.net, although still hardcoded
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
8 |