Create a domain file with the following content
<VirtualHost *:80>
ServerAdmin psychstat@gmail.com
ServerName software.psychstat.org
DocumentRoot /www/psychstat/software.psychstat.org
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<LocationMatch "^/analysis/.*>
Options +Indexes
DAV On
AuthType Basic
AuthName "WebStats DAV server"
AuthBasicAuthoritative off
AuthUserFile /dev/null
#AuthDigestProvider mysql
AuthMySQL_Host localhost
AuthMySQL_User johnny
AuthMySQL_Password Azzy6312902
Auth_MySQL_DB websem
Auth_MySQL_Password_Table users
Auth_MySQL_Username_Field username
Auth_MySQL_Password_Field passwd
Auth_MySQL_Encryption_Types PHP_MD5
</LocationMatch>
ErrorLog /var/log/apache2/error-webbugs.log
</VirtualHost>