404 for path served by Cherrypy
问题 For three simple apps: let us use a different port than 8080: cherrypy.config.update({'server.socket_host': '127.0.0.1', 'server.socket_port': 28130 }) Let us set up three apps: fusionConf = { '/fusion':{}} mobileConf = { r"/mobile_to_fusion":{}} adminConf = { '/admin':{}} cherrypy.tree.mount(fusionListener, r"/fusion",fusionConf) cherrypy.tree.mount(mobileListener, r"/mobile_to_fusion",mobileConf) cherrypy.tree.mount(adminListener, r"/admin",adminConf) # cherrypy.engine.start() cherrypy