Just to clear things up... You are running web2py on port 8000 for
development or... ? If you're going through WSGI there is no web2py
port to listen to, the communication with apache is 'internal'.
Here's how my default config looks like on an ubuntu machine (note: I
actually created a web2py user and group, if you don't have this, just
use the web server's www-data user/group). Don't forget to chown the
web2py folder to the user you specify here otherwise web2py won't be
able to start up.
<VirtualHost *:80>
WSGIScriptAlias / /var/www/web2py/wsgihandler.py
WSGIDaemonProcess web2py user=web2py group=web2py home=/var/
www/web2py processes=1 maximum-requests=1000
ServerAdmin webmaster@localhost
DocumentRoot /var/www/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error,
crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
</VirtualHost>