Skip to content

Specify Forums

Personal tools
You are here: Home » Specify Procedures » Configuring the Specify web interface with Apache Server 2.2

Configuring the Specify web interface with Apache Server 2.2

Document Actions

Apache Http Server 2.2 is a little different than version 2.0.x. You can read up on the changes in the latest version of the Apache HTTP Server Project at http://httpd.apache.org. Below are the instructions for configuring the Specify web interface with Apache Server 2.2. The procedure assumes that you have set up the web interface in Specify as directed in the documentation, and will focus on the set up of the Apache httpd.conf file. Also, I will assume that Apache 2.2 is already installed on your machine.

  1. Open the httpd.conf file with a text editor, either by going through the start menu and in the programs section selecting "Apache HTTP Server 2.2.2" -> "Configure Apache Server" -> "Edit the httpd.conf Configuration File", or by opening the file directly at: "C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf".
  2. For this example, I will use the following directories and aliases, you should alter these instructions to match your set up:
    Directory Alias Location on Machine
    HTML directory /html/ C:\html\
    Script directory /cgi/ C:\cgi\
    Images directory /images/ C:\html\images\
    CSS directory /css/ C:\html\css\
  3. With the configuration file open, scroll down about 200 lines. You should be inside of a <Directory></Directory> block. Continue scrolling until you are just below this block and add the following lines, remember to substitute in the information for your particular set up.

    <Directory "C:/html">
        Options Indexes MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>

    <Directory "C:/html/css">
        Options Indexes MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>

    <Directory "C:/html/images">
        Options Indexes MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>

    <Directory "C:/cgi">
        Options Indexes MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>

  4. Next you must add an alias for each of the directories. Find the line that says: "<IfModule alias_module>" which will be around line 300 if you have already entered in directory information.
    Add the following lines in this block, again replacing the names with the ones used in your set up.

    Alias /html "C:/html"
    Alias /css "C:/html/css"
    Alias /images "C:/html/images"
    ScriptAlias /cgi/ "C:/cgi/"

  5. Save your configuration file and restart your server.
  6. Now verify that your interface is working correctly. In this example, the database is Fishdemo and since the script directory is /cgi/ the url would be:
    http://localhost/cgi/WebSpecify.exe/QueryListing?DatabaseOptions=Fishdemo
Created by cj
Last modified 2006-05-30 11:47 AM
 

Powered by Plone

This site conforms to the following standards: