[Twisted-Python] More problems running examples
phil.hunt at tech.mrc.ac.uk
Fri Feb 20 08:27:59 EST 2004
On Friday 20 Feb 2004 1:25 pm, Phil Hunt wrote:
> On Friday 20 Feb 2004 12:41 pm, Joe Halliwell wrote:
> > The code is fine, so I wonder what URL you're pointing the browser at.
> > Tried http://127.0.0.1:8011/ ? Anything else will produce a resource
> > error since res has no child resources.
> Yes, it works for http://127.0.0.1:8011/, but as you say, when I use any
> other URL such as http://127.0.0.1:8011/this/is/a/path/ it doesn't work.
> What I want to know is how do I make it work with other URLs, and how do I
> get it to bring up dynamically-produced web pages. Is this what .rpy files
> are for? IOW, is an .rpy file the equivalent of a .php file in that it
> contains code for writing one specific web page?
Furthermore, do I want to start my webserver by running python, twistd
or mktap; and why?
Phil Hunt, phil.hunt at tech.mrc.ac.uk
More information about the Twisted-Python