
	PidFile logs/httpd.pid
	Timeout 300
	KeepAlive On
	MaxKeepAliveRequests 100
	KeepAliveTimeout 15
	MinSpareServers 2
	MaxSpareServers 2
	StartServers 2
	MaxClients 50
	MaxRequestsPerChild 0
	Listen 5555

	DirectoryIndex index.html

	TypesConfig conf/mime.types
	DefaultType text/plain
	AddType image/gif .gif
	AddType image/png .png
	AddType image/jpeg .jpg .jpeg
	AddType text/css .css
	AddType text/html .html .htm
	AddType text/plain .asc .txt
	AddType application/pdf .pdf
	AddType application/x-gzip .gz .tgz
	AddType application/vnd.ms-excel .xls
    
	ErrorLog logs/error_log
	LogLevel warn
	LogFormat "%h %l %u %t \"%r\" %>s %b" combined
	CustomLog logs/access_log combined
	
		LoadModule perl_module /caprisa/usr/local/apache2/modules/mod_perl.so
		
		#		LoadModule deflate_module /caprisa/usr/local/apache2/modules/mod_deflate.so 
		<Perl>
		
				use lib '/home/ruby/prj/biomart/biomart-test2/lib'; 
			require "BioMart/Configuration/Attribute.pm"; 
			require "BioMart/Configuration/AttributeCollection.pm"; 
			require "BioMart/Configuration/AttributeGroup.pm"; 
			require "BioMart/Configuration/AttributeList.pm"; 
			require "BioMart/Configuration/AttributeTree.pm"; 
			require "BioMart/Configuration/BaseFilter.pm"; 
			require "BioMart/Configuration/BooleanFilter.pm"; 
			require "BioMart/Configuration/ConfigurationTree.pm"; 
			require "BioMart/Configuration/DBLocation.pm"; 
			require "BioMart/Configuration/FilterCollection.pm"; 
			require "BioMart/Configuration/FilterGroup.pm"; 
			require "BioMart/Configuration/FilterList.pm"; 
			require "BioMart/Configuration/FilterTree.pm"; 
			require "BioMart/Configuration/Location.pm"; 
			require "BioMart/Configuration/MartDBLocation.pm"; 
			require "BioMart/Configuration/MartURLLocation.pm"; 
			require "BioMart/Configuration/Option.pm"; 
			require "BioMart/Configuration/PushAction.pm"; 
			require "BioMart/Configuration/RegistryDBPointer.pm"; 
			require "BioMart/Configuration/RegistryURLPointer.pm"; 
			require "BioMart/Configuration/URLLocation.pm"; 
			require "BioMart/Configuration/ValueFilter.pm"; 
			require "BioMart/Configuration/VirtualSchema.pm"; 
			require "BioMart/AttributeTable.pm"; 
			require "BioMart/Configurator.pm"; 
			require "BioMart/DatasetI.pm"; 
			require "BioMart/Exception.pm"; 
			require "BioMart/FormatterI.pm"; 
			require "BioMart/Initializer.pm"; 
			require "BioMart/Links.pm"; 
			require "BioMart/Query.pm"; 
			require "BioMart/QueryRunner.pm"; 
			require "BioMart/Registry.pm"; 
			require "BioMart/ResultTable.pm"; 
			require "BioMart/Root.pm"; 
			require "BioMart/RootI.pm"; 
			require "BioMart/Web.pm"; 
			require "BioMart/Dataset/GenomicSequence/DNAAdaptor.pm"; 
			require "BioMart/Dataset/GenomicAlign.pm"; 
			require "BioMart/Dataset/GenomicMAlign.pm"; 
			require "BioMart/Dataset/GenomicSequence.pm"; 
			require "BioMart/Dataset/GenomicSequenceMod.pm"; 
			require "BioMart/Dataset/TableSet.pm"; 
			require "BioMart/Formatter/AXTPLUS.pm"; 
			require "BioMart/Formatter/ADF.pm"; 
			require "BioMart/Formatter/AXT.pm"; 
			require "BioMart/Formatter/FASTA.pm"; 
			require "BioMart/Formatter/CSV.pm"; 
			require "BioMart/Formatter/FASTAA.pm"; 
			require "BioMart/Formatter/FASTACDNA.pm"; 
			require "BioMart/Formatter/FASTAH.pm"; 
			require "BioMart/Formatter/GFF.pm"; 
			require "BioMart/Formatter/HTML.pm"; 
			require "BioMart/Formatter/MAF.pm"; 
			require "BioMart/Formatter/MAF_NOPREVIEW.pm"; 
			require "BioMart/Formatter/MAF_RESTRICTED.pm"; 
			require "BioMart/Formatter/MFA.pm"; 
			require "BioMart/Formatter/MFASTA.pm"; 
			require "BioMart/Formatter/TSV.pm"; 
			require "BioMart/Formatter/TXT.pm"; 
			require "BioMart/Formatter/XLS.pm"; 
			require "BioMart/Web/CGIXSLT.pm"; 
			require "BioMart/Web/PageStub.pm"; 
			require "BioMart/Web/SiteDefs.pm"; 
			require "BioMart/Web/TemplateBuilder.pm"; 
			require "BioMart/Web/Zlib.pm"; 	
		#warn "MartView:: Initializing master Mart registry";
		eval { my $init = BioMart::Initializer->new(registryFile => '/home/ruby/prj/biomart/biomart-test2/conf/martDBLocation.xml');
		$main::BIOMART_REGISTRY = $init->getRegistry() || die "Can't get registry from initializer";
		};
		</Perl>
			
	DocumentRoot "/home/ruby/prj/biomart/biomart-test2/htdocs"
	<Location />
    	Options Indexes FollowSymLinks MultiViews
    	AllowOverride None
    	Order allow,deny
    	Allow from all
	</Location>

	ScriptAlias /biomart "/home/ruby/prj/biomart/biomart-test2/cgi-bin"
	<Location /biomart/martview>

	AllowOverride None
    	Options None
    	Order allow,deny
    	Allow from all
	
                <IfModule mod_deflate.c>
                        ## zip both input and output
                        SetOutputFilter DEFLATE
                        SetInputFilter DEFLATE
                        ## donot zip already zipped files 
                        SetEnvIfNoCase Request_URI \.(?:exe|t?gz|zip|bz2|sit|rar)$ no-gzip dont-vary
                </IfModule>
                SetHandler perl-script
		PerlResponseHandler ModPerl::Registry
    	Options +ExecCGI
	</Location>
	
	<Location /biomart/martservice>
    	AllowOverride None
    	Options None
    	Order allow,deny
    	Allow from all
	SetHandler perl-script
		PerlResponseHandler ModPerl::Registry
    	Options +ExecCGI
	</Location>
	
	<Location /biomart/martresults>
    	AllowOverride None
    	Options None
    	Order allow,deny
    	Allow from all
	SetHandler perl-script
		PerlResponseHandler ModPerl::Registry
    	Options +ExecCGI
	</Location>
	
		<Location /biomart/perl-status>
			SetHandler perl-script
		PerlHandler Apache2::Status
		</Location>
		
