Tissue Microarray
TMA Home
System Requirements
System requirements for deploying the TMA data management system
Explore
Explore the demonstration dataset
Download
Download the programs and documentation
Revision History
FAQ
Frequently Asked Questions
Links
Site Index
Authors
Web Portal

© 2002-2005 by
Chih Long Liu

Web Server Setup Instructions - 3

Configure Apache

Apache's options are controlled by one main text file entitled httpd.conf. If you accepted the default settings, this file is located in the "C:/Program Files/Apache Group/Apache2/conf/" directory. There is also a shortcut to this file found at: Start Menu->Programs->Apache HTTP Server->Configure Apache Server->Edit the Apache httpd.conf Configuration File.

For our purposes, we are mainly concerned with the location of your files. Limiting access to these files is beyond the scope of this walkthrough, and the Apache documentation should be closely read if you need to do so.

Open the httpd.conf file in your favorite text editor. Lines that begin with the # sign are informational only. Scroll down through the file until you see a section that reads:

# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs"

The main pages of your web site should be located in the Document Root. You can move the Document Root by simply changing the location specified in the httpd.conf file.

If you continue to scroll down the httpd.conf file, you will see the below section:

# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the realname directory are treated as applications and
# run by the server when requested rather than as documents sent to the client.
# The same rules about trailing "/" apply to ScriptAlias directives as to
# Alias.
#
ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache2/cgi-bin/"

Files in directories specified in this section are executed rather than simply displayed. You can specify multiple directories by simply adding another ScriptAlias line to the httpd.conf file. The Stainfinder Perl script should be placed in one of these directories.

Back to Step 2.

Step 4 - Install Perl and Stainfinder

Return to the Stainfinder walkthrough


Last edited by Chih Long Liu on November 18, 2008 anno Domini