# ------------------------------------------------------------ # PLANT ONTOLOGY HTTPD CONFIGURATION FILE # ------------------------------------------------------------ DocumentRoot /data/www/plantontology/plantontology/html/ LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" combined CustomLog /data/www/plantontology/plantontology/logs/transfer_log combined TransferLog /data/www/plantontology/plantontology/logs/access_log ErrorLog /data/www/plantontology/plantontology/logs/error_log Include /data/www/plantontology/plantontology/conf/local.conf Alias /icons /usr/local/apache/icons Alias /logs /data/www/plantontology/plantontology/logs Alias /images /data/www/plantontology/plantontology/html/images ##RewriteEngine On ##RewriteLog /data/www/plantontology/logs/rewrite_log ##RewriteBase /amigo/ ##RewriteRule /amigo/$ /amigo/go.cgi ##RewriteRule /amigo/$ /amigo/go.cgi[type=application/x-httpd-cgi] RewriteEngine On RewriteCond %{REQUEST_URI} !^/(download/database) RewriteCond %{REQUEST_URI} !^/(owlfiles) RewriteRule ^(.*)/$ $1/index.html PerlRequire /data/www/plantontology/plantontology/conf/perl.startup PerlSetVar NavConf /data/www/plantontology/plantontology/conf/navbar.conf PerlSetVar Stylesheet /stylesheets/plantontology.css # PerlSetVar Background /images/netbkgnd.gif PerlSetVar Bgcolor white PerlSetVar Banner /images/poc_banner.gif PerlSetVar Logo /images/poc_logo.gif PerlSetVar Footer /data/www/plantontology/plantontology/conf/footer.html SetHandler default-handler SetHandler default-handler SetHandler None Options Indexes FollowSymLinks Allow from all SetHandler None Options Indexes FollowSymLinks Allow from all SetHandler None Options Indexes FollowSymLinks Allow from all SetHandler None Options Indexes FollowSymLinks Allow from all SetHandler None Options Indexes FollowSymLinks Allow from all SetHandler None Options Indexes FollowSymLinks Allow from all SetHandler perl-script PerlHandler Apache::PlantOntology SetHandler perl-script PerlHandler ModPerl::Registry PerlSetVar AceBrowserRoot /plantontology PerlSendHeader On Options +ExecCGI Alias /db/ /data/www/plantontology/plantontology/cgi-perl/ ########################## # AmiGO NEW VERSION ######################### ScriptAlias /amigo/go.cgi /data/www/plantontology/po_amigo/cgi-bin/plantontology/go.cgi Alias /amigo/docs/ /data/www/plantontology/po_amigo/docs/amigo/ ### NOTICE!!! Uncomment this line when switching to the new AmiGO, otherwise the 'show def' will not show!!! Alias /amigo/ /data/www/plantontology/po_amigo/docs/amigo/ PerlHandler ModPerl::Registry Options ExecCGI FollowSymLinks PerlSetEnv GO_ROOT /data/www/plantontology/po_amigo/go-cvs/go-dev DirectoryIndex go.cgi ErrorDocument 404 /amigo/go.cgi ########### ## OLD AmiGO ## ########### # ScriptAlias /amigo/go.cgi /usr/local/amigo/cgi-bin/plantontology/go.cgi ScriptAlias /amigo_old/go.cgi /usr/local/amigo/cgi-bin/plantontology/go.cgi # Alias /amigo/docs/ /usr/local/amigo/docs/ Alias /amigo_old/docs/ /usr/local/amigo/docs/ # Alias /gost/docs/ /usr/local/amigo/go-cvs/go-dev/amigo/gost/docs/ PerlHandler ModPerl::Registry Options ExecCGI FollowSymLinks PerlSetEnv GO_ROOT /usr/local/amigo/go-cvs-developers/go-dev DirectoryIndex go.cgi ErrorDocument 404 /amigo/go.cgi #If I was smart I could do this with mod_rewrite, -Steve #Directory/data/www/plantontology/html/amigo> DirectoryIndex go.cgi ErrorDocument 404 /amigo/go.cgi # # SetHandler perl-script # PerlHandler Apache::PlantOntology # # # DirectoryIndex index.html # ########## ## GOst ## ########## # # Options ExecCGI FollowSymLinks # PerlSetEnv GO_ROOT /usr/local/amigo/go-cvs/go-dev # # ScriptAlias /gost/gost.cgi /usr/local/amigo/cgi-bin/POst/gost.cgi