The /var/www folder is just an example. You can put the wsgi.py in your home folder as well. You can also simply use wsgihandler.py that comes with web2py. One or the other has to be set as the WSGI script in the http server configuration.
To learn more on deploying web2py applications read this: http://www.web2py.com/books/default/chapter/29/13

