next up previous contents index
Next: 2.4 Database configuration Up: 2.3 Apache web server Previous: 2.3.1 Steps used in   Contents   Index


2.3.2 Changes needed in httpd.conf file

For references, here is the relevant section of the httpd.conf file with the needed changes underlined. The actual appearance and directory name may vary in individual setup. Users should consult their system administrators and Apache documentation for additional details.

<Directory "/var/www/htdocs">

AddHandler cgi-script cgi REAL

Options Indexes Follow SymLinks MultiViews +ExecCGI

Order allow,deny

Allow from all

</Directory>

You can compare the above the the Apache default, which may look like this:

<Directory "/var/www/htdocs">

Allow Override None

Options +ExecCGI

Order allow,deny

Allow from all

</Directory>

A sample excerpt of the relevant section from an actual httpd.conf file is given in the appendix section (8.1). Once installed and configured properly, the wwwblast setup should be accessible through the following URLs. Apache may replace the 'localhost' to other names:

* http://localhost/blast/

* http://localhost/blast/blast.html

* http://localhost/blast/blast_cs.html

* http://localhost/blast/psiblast.html

* http://localhost/blast/psiblast_cs.html

* http://localhost/blast/megablast.html

* http://localhost/blast/megablast_cs.html

* http://localhost/blast/wblast2.html

* http://localhost/blast/wblast2_cs.html

Users can customize the programs and its setup by modifying the source code for wwwblast, which is available as part of the NCBI toolkit available from the following ftp site ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools/CURRENT/. The compilation of the NCBI C and C++ toolkits includes the wwwblast executables. The files in the C toolkit most relevant for the wwwblast executables are: wwwblast.c, wwwbutl.c, psiblast.c, and wblast2.c. We will not be able to provide technical supports for customized wwwblast setup due to their system dependent nature.


next up previous contents index
Next: 2.4 Database configuration Up: 2.3 Apache web server Previous: 2.3.1 Steps used in   Contents   Index
Tao Tao 2006-12-04