#Copy this file into apache site configuration folder. 
#On Debian /etc/apache2/sites-available/${project}
<VirtualHost *>
ServerName ${project}.example.com
ServerAlias ${project}.*
ServerAdmin ${project}@example.com

Alias /static /usr/local/turbogears/${project}/${project}/static

#Deamon mode set as defualt for small and medium sites. If you run a large site with thousands of visitors comment out next 2 lines for embeded mode.
WSGIDaemonProcess ${project} threads=10 processes=3
WSGIProcessGroup ${project}

WSGIScriptAlias / /usr/local/turbogears/${project}/apache2/${project}.wsgi

#For non-root mounted app
#<Directory /usr/local/turbogears/myfirstapp/apache>

#For root or subdomain mounted app.
<Directory />
Order deny,allow
Allow from all
</Directory>

</VirtualHost>

