Did I find the right examples for you? yes no

All Samples(14)  |  Call(0)  |  Derive(0)  |  Import(14)
I am a virtual hosts implementation.

src/h/o/hortonworks-sandbox-HEAD/desktop/core/ext-py/Twisted/doc/web/examples/web.py   hortonworks-sandbox(Download)
 
from twisted.internet import reactor
from twisted.web import static, server, vhost, twcgi, script, trp
 
root = static.File("static")

src/o/h/oh-mainline-HEAD/vendor/packages/twisted/doc/web/examples/web.py   oh-mainline(Download)
 
from twisted.internet import reactor
from twisted.web import static, server, vhost, twcgi, script
 
root = static.File("static")

src/t/w/Twisted-13.2.0/doc/web/examples/web.py   Twisted(Download)
 
from twisted.internet import reactor
from twisted.web import static, server, vhost, twcgi, script
 
root = static.File("static")

src/t/w/Twisted-13.2.0/doc/web/examples/rootscript.py   Twisted(Download)
"""
 
from twisted.web import vhost, static, script, server
from twisted.application import internet, service
 

src/h/o/hortonworks-sandbox-HEAD/desktop/core/ext-py/Twisted/doc/web/examples/rootscript.py   hortonworks-sandbox(Download)
from twisted.web import vhost, static, script
 
default = static.Data('text/html', '')
default.putChild('vhost', vhost.VHostMonsterResource())
resource = vhost.NameVirtualHost()

src/o/h/oh-mainline-HEAD/vendor/packages/twisted/doc/web/examples/rootscript.py   oh-mainline(Download)
from twisted.web import vhost, static, script
 
default = static.Data('text/html', '')
default.putChild('vhost', vhost.VHostMonsterResource())
resource = vhost.NameVirtualHost()

src/h/o/hortonworks-sandbox-HEAD/desktop/core/ext-py/Twisted/doc/web/examples/vhost.rpy.py   hortonworks-sandbox(Download)
from twisted.web import vhost
 
resource = vhost.VHostMonsterResource()
 
 

src/o/h/oh-mainline-HEAD/vendor/packages/twisted/doc/web/examples/vhost.rpy.py   oh-mainline(Download)
from twisted.web import vhost
 
resource = vhost.VHostMonsterResource()
 
 

src/s/p/spark-0.2.1/spark/proj/scripts/twisted_server.py   spark(Download)
from twisted.application import internet, service
from twisted.web import static, server, vhost, resource, util
from twisted.internet import reactor
 
import sys, os.path

src/m/o/moingo-HEAD/MoinMoin/server/server_twisted.py   moingo(Download)
 
from twisted.application import internet, service
from twisted.web import static, server, vhost, resource
from twisted.internet import threads, reactor
 

  1 | 2  Next