[Twisted-Python] Custom webserver

Tommi Virtanen tv at twistedmatrix.com
Mon Jun 16 03:03:52 EDT 2003


On Mon, Jun 16, 2003 at 09:57:13AM +0530, Vijay Rao wrote:
> I am trying to use twisted as a webserver that serves files only for 
> requests from the localhost ie the desktop on which it is running by 
> mapping localhost(127.0.0.1) to a domain pattern ( thru the hosts file on 
> windows ) so that a particular type of URL is served from this webserver.

	Easiest way is to make it bind to 127.0.0.1. There's currently
	no support in mktap web for this, though there really should
	be.

-- 
:(){ :|:&};:




More information about the Twisted-Python mailing list