HI,

I have been developing a python web app on my local machine with
web.py
and that has run nicely.  I have an account with webfaction and have
tried setting it up there but so far I haven't gotten it to work.

Webfaction set's you up with an initial index.py in my htdocs
directory
and it works so I think I have Apache set up OK

http://web.chiantidatabase.org/index.py

this is their index.py.

------------------------------------------------------------------

import sys

def application(environ, start_response):
    output = 'Welcome to your mod_wsgi website! It uses:\n\nPython %s'
%
sys.version

    response_headers = [
        ('Content-Length', str(len(output))),
        ('Content-Type', 'text/plain'),
    ]

    start_response('200 OK', response_headers)

    return [output]

----------------------------------------------------------------

I tried following the steps in the cookbook for mod_wsgi-apache but
that
has not helped yet

for one thing, httpd.conf does not accept the command 'Alias'

I do define application = web.application(urls, globals()).wsgifunc()

any help would be appreciated

Ken

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en.

Reply via email to