# -*- coding:utf-8 -*-
'''
Author: Bu Kun
E-mail: bukun@osgeo.cn
CopyRight: http://www.yunsuan.org
'''

from torlite.handlers.post_handler import PostHandler
from torlite.handlers.user_handler import UserHandler
from torlite.handlers.cat_handler import CatHandler
from torlite.handlers.pic_handler import PicHandler
from torlite.handlers.spec_handler import SpecHandler
from torlite.handlers.index import IndexHandler
from torlite.handlers.page_handler import PageHandler
from torlite.handlers.wiki_handler import WikiHandler
from torlite.handlers.static_handler import StaticHandler
from torlite.handlers.search_handler import SearchHandler
from torlite.handlers.reply_handler import ReplyHandler
from torlite.handlers.post2reply_handler import Post2ReplyHandler
from torlite.handlers.post_handler import LabelHandler

urls = [
    ("/label/(.*)", LabelHandler, dict()),
    ("/post/toreply/(.*)", Post2ReplyHandler, dict()),
    ("/pic/(.*)", PicHandler, dict()),
    ("/category/(.*)", CatHandler, dict()),
    ("/spec/(.*)", SpecHandler, dict()),
    ("/user/(.*)", UserHandler, dict()),
    ("/post/(.*)", PostHandler, dict()),
    ("/page/(.*)", PageHandler, dict()),
    ("/wiki/(.*)", WikiHandler, dict()),

    ("/search/(.*)", SearchHandler, dict()),
    ("/reply/(.*)", ReplyHandler, dict()),


    ("/", IndexHandler, dict()),

]

@@ -1239,18 +1239,16 @@
 ct()),%0D%0A
-%0D%0A
     (%22/s
@@ -1329,20 +1329,16 @@
 ct()),%0D%0A
-%0D%0A%0D%0A
     (%22/%22
@@ -1363,13 +1363,50 @@
 ct()),%0D%0A
+    (%22/(.*)%22, StaticHandler, dict()),
 %0D%0A%5D%0D%0A

Add the router for StaticHandler.