sfcon.org

Sponsored by CONduit in Salt Lake City, Utah.

Note: This site uses Stylesheets and Javascript. You appear to have them disabled, or your browser does not correctly support them.

ConDB Install

There are likely some hardcoded paths in the code. For reference, the site I run has all of the condb code in a home directory for 'sfcon', so everything is located at:

/home/sfcon/condb
You can re-create this if you want to try to smoothe installation.

1. PERL SETUP

Install DBI and MySQL modules for perl, from the CPAN archives (cpan.org).

Create a link from the site_perl lib @INC path for ConDB to the condb-1.0/lib directory (ln -s ~wherever/condb-1.0/lib ConDB)

2. WEB SERVER SETUP

2.1. CGI Configuration

Map the CGI directory as appropriate to your web server. Example:
<Location condb>
    Options +ExecCGI
    [...auth bits]
</Directory>

2.2. mod_perl Configuration

Install and setup the core mod_perl, then configure the website to use mod_perl for the condb code:
<Location condb>
    SetHandler  perl-script
    PerlHandler Apache::Registry
    PerlSendHeader On
    Options +ExecCGI
    [...auth bits]
</Directory>

2.3. Web Authentication

Setup authentication for the same HTTP directory, something like:
<Location condb>
    AuthType Basic
    AuthName "Convention Committee"
    AuthUserFile [path to password file]
    require valid-user
</Directory>

ConDB uses REMOTE_USER as defined by Apache, if the user is authenticated.

3. SQL SERVER SETUP


Last Modified