2011/11/5 wojciech777 <[email protected]> > 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() > > > I don't see mod_wsgi in your problem. You would be better asking at the web.py list.
Regards, Clodoaldo > Any help will be appreciated. > Thanks > Wojciech Kaźmierczak > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/modwsgi?hl=en. > > -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
