Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > httpd.conf configuration for on wamp (apache)?

Thread Tools

httpd.conf configuration for on wamp (apache)?

Posts: n/a
Hi there.

Is there any way to run python web application (or simple web page in on Windows with wamp without starting built-in wsgi server
manually (python

I know there's a documentation on,
but it doesn't show where exactly in httpd.conf I should place the

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:/

source of
#!/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__":

Any help will be appreciated.
Wojciech Kaźmierczak
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: WAMP config issue Malcolm NZ Computing 1 06-30-2007 12:01 AM
Re: WAMP config issue Malcolm NZ Computing 3 06-29-2007 09:52 AM
Re: WAMP config issue Malcolm NZ Computing 6 06-27-2007 06:10 AM
WAMP config issue CollectorNZ NZ Computing 6 06-25-2007 01:20 AM
mod_python fails to load under wamp Gaurav Agarwal Python 5 07-11-2006 08:20 AM