It seems that at least one of my problems is giving a PYTHONPATH, or its equivalent, to the application and that is one reason for my problem.
Looks like I need to figure out how to set up an Apache WSGI server for web.py. From what you say, it sounds like it could be difficult. Any pointers or sources of info would be great. Ken On Mar 19, 10:32 am, Greg Milby <[email protected]> wrote: > *the ppl at webfaction are awesome, but i finally gave up on trying to seutp > webpy there. i setup a vps at grokthis.net - i haven't had any problems > since (with setting things up).* > *http://quotes.feedtheguru.comis my playground on my vps* > * > * > *it's affordable too - pkgs starting at $6 a month i think i'm right.* > * > * > *good luck > *----------------------- > Visit My Sites!http://1-4-u.info| Don't send insanely long > links!www.superantispyware.com/superantispyware.html?rid=3971Remove All The > Spyware - Not Just The Easy Ones! > > On Thu, Mar 18, 2010 at 1:35 PM, Ken Dere <[email protected]> wrote: > > 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] <webpy%[email protected]>. > > For more options, visit this group at > >http://groups.google.com/group/webpy?hl=en. -- 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.
