Hi there.

Is there any way to run python web application (or simple web page in
web.py) on Windows with wamp without starting built-in wsgi server
manually (python run.py).
I know there's a documentation on http://webpy.org/install#apachemodwsgi,
but it doesn't show where exactly in httpd.conf I should place the
commands.

In my example I would like to get start page, simply by typing in my
browser e.g. http://localhost:8070, and my file is located in: c:/
wamp/
www/xaura/run.py

source of run.py:

#!/usr/bin/env python
import web
urls = ('/', 'hello',
        '', 'hello')
class hello:
    def GET(self):
        return "Hello, world."
app = web.application(urls, globals())
if __name__ == "__main__": app.run()

Any help will be appreciated.
Thanks
Wojciech Kaźmierczak

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to webpy@googlegroups.com.
To unsubscribe from this group, send email to 
webpy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to