This deployment guide will help you install and configure the LabCAS User Interface. Note that full functionality of the interface depends on the existence of the LabCAS Backend component. The following environment is assumed:

  1. Apache Web Server (HTTPD) + PHP 5.2+ + PEAR
  2. Environment variables, and directories to support the above items, described further below.

Set up your environment

  1. Ensure that the following PEAR packages are installed:
    EDRN SSO ( 
    OODT Balance (0.4-SNAPSHOT,
    OODT File Manager (0.4-SNAPSHOT,
  2. Ensure that the following environment variables and virtual host have been specified in the server's HTTPD config file (e.g.: edrn.conf or httpd.conf). NOTE: Your paths may differ somewhat depending on the environment!
      Setenv LABCAS_HOME /usr/local/labcas
      Setenv LABCAS_ARCHIVE_HOME /data/archive
      Setenv LABCAS_STAGING_HOME /data/staging
      Alias /labcas /usr/local/biomarker/labcas/frontend/ui
      <Directory /usr/local/biomarker/labcas/frontend/ui>
      Order allow,deny
      Allow from all
      AllowOverride All
      Options Indexes MultiViews FollowSymLinks

Downloading the source code

LabCAS User Interface

For the following, we'll assume that your project root directory is $PROJ, which might be $PROJ=/usr/local/labcas:

  1. Navigate to a directory where you will place the labcas-backend codebase, such as ~/src. If this directory does not exist, feel free to create it
    1. cd $PROJ
      svn export frontend/ui
  2. Are you planning to run the site at http://domain.tld/labcas ? If so, skip this step. If not, two updates must be made so that URL rewriting works correctly. The RewriteBase field in .htaccess and the site_root field in config.ini must both agree, and both point to the URL to the LabCAS user interface install. For example, to run the LabCAS User Interface at http://domain.tld/subdir/labcas, RewriteBase and site_root should be '/subdir/labcas'.
  3. Test at http://domain.tld/labcas (or your own URL if you followed step 2 above)