Web Server

The web server is accessed as odyssey.uwaterloo.ca.

Each application is configured in the odyssey.uwaterloo.ca virtual host configuration. The actual web application resides in ~odyssey/a/application/bin/run and is a shell script which configures environment variables and then execs a Python module. The Python module is uw.local.application.main_web which implements the FastCGI protocol.

A typical application configuration looks like this:

        #######################################################################
        # [Application] Installation
        Alias /[application]/demo /u2/odyssey/a/[application]/bin/run-demo
        Alias /[application] /u2/odyssey/a/[application]/bin/run
        
        <Location /[application]>
                Order allow,deny
                Allow from all
                Options +ExecCGI
                SetHandler fastcgi-script
                require valid-user
        </Location>
        <Location /[application]/demo/>
                require user [authorized demo userids]
        </Location>