Deploying web applications

Installing the software

/etc/vhosts/webapp-config
# vhost_root is the directory where virtual host websites are added

vhost_root="/var/www/${vhost_hostname}"
vhost_root="/var/www/${vhost_hostname}/webapps"

# what are the names of your document directories?

vhost_htdocs_insecure="htdocs"
vhost_htdocs_insecure="/"
vhost_htdocs_secure="htdocs-secure"
vhost_htdocs_secure="/"
lisa webapp-config -I -h localhost -d cacti cacti 0.8.7g
/etc/apache2/vhosts.d/default_vhost.include
<Directory "/var/www/localhost/webapps/cacti">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>

<IfModule alias_module>
Alias /cacti /var/www/localhost/webapps/cacti/
</IfModule>