User Tools

Site Tools


lab:projects:16websem:stepbystep:set_up_the_server

Setup a server

  • Any server that supports PHP and MySQL can be used.
  • LAMP on Ubuntu is used here.
  • 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>
lab/projects/16websem/stepbystep/set_up_the_server.txt · Last modified: 2016/01/24 09:48 by 127.0.0.1