Merge pull request #5018 from solgenomics/topic/update_manual_transplanting_accession...
[sgn.git] / conf / apache2_production.conf.example
blobd06430b8d6d2c8dd237c74cb3b6e1cfeef383eee
1 <VirtualHost *:80>
3     ServerName       solgenomics.net
5     PerlWarn         Off
6     PerlTaintCheck   On
8     LogLevel         error
10     <Perl>
11        use lib '/usr/share/sgn-site/sgn/lib',
12                '/usr/share/sgn-site/lib/perl5';
13         
14        use SGN::Deploy::Apache SGN => (
15            type  => 'mod_perl',
16            vhost => 1,
17            env   => {
18               PERL5LIB   => join( ':', @INC ),
19               SGN_CONFIG => '/etc/cxgn/SGN.conf',
20               R_LIBS     => '/usr/share/sgn-site/lib/R',
21            },
22        );
24     </Perl>
26 </VirtualHost>
28 # vhost for redirecting aliases of this site to the main site
29 <VirtualHost *:80>
30     ServerName sgn-vm
31     ServerAlias www.solgenomics.net
32     ServerAlias solanaceae.org
33     ServerAlias www.solanaceae.org
34     ServerAlias solgenomics.org
35     ServerAlias www.solgenomics.org
36     ServerAlias solgenomics.com
37     ServerAlias www.solgenomics.com
38     ServerAlias soldb.cit.cornell.edu
39     ServerAlias sgn.cornell.edu
40     ServerAlias www.sgn.cornell.edu
41     Redirect permanent / http://solgenomics.net/
42 </VirtualHost>