I'm trying to evaluate web2py, and I have no idea what I'm doing.  I 
haven't gotten to the point of doing apps, or anything; I'm just on 
'deployment', which the manual's recipes (
http://web2py.com/books/default/chapter/29/13/deployment-recipes) doesn't 
have any help for me.

My hosting is on Dreamhost.  Applicable documents:
http://wiki.dreamhost.com/Web2py
and
http://wiki.dreamhost.com/Passenger_WSGI

Following those instructions, and linking /web2py/handlers/wsgihandler.py 
to passenger_wsgi.py gives the following error (when running directly in 
shell; site error says 'there was an error parsing your passenger_wsgi.py' 
file):
./passenger_wsgi.py
Traceback (most recent call last):
  File "./passenger_wsgi.py", line 34, in <module>
    raise RuntimeError('Running from the wrong folder')
RuntimeError: Running from the wrong folder

I'm running the passenger_wsgi.py file from /mydomain.com/ directory, and 
web2py is in the root directory.

What I want to do is very simply use web2py for all my domains.  Can 
someone please explain to me how to do this?  If I copy the contents of the 
web2py directory to my domain, it'll run (ie, cp -R /web2py/* /mydomain/), 
but it can't be right that I'd need to do this for every domain, right? I 
know this has got to be a simple thing, but I've not been able to find 
anything searching, and Dreamhost's support for this ends at the two links 
above. 

To clarify, I have:
domain_one.com
domain_two.com
etc
They're completely unrelated.  My local directory structure looks like this:
dom1/
dom1/public
dom2/
dom2/public
with passenger_wsgi.py in each top level (above /public)
and
web2py/

How does one make web2py work with this?

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to