Project

General

Profile

1
NameVirtualHost *:80
2
<VirtualHost *:80>
3
        DocumentRoot /var/lib/tomcat6/webapps/metacat
4
        ServerName <your_hostname_here>
5

    
6
        ScriptAlias /metacat/cgi-bin/ /var/lib/tomcat6/webapps/metacat/cgi-bin/
7
        <Directory "/var/lib/tomcat6/webapps/metacat/cgi-bin/">
8
                AllowOverride All
9
                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
10
                Order allow,deny
11
                Allow from all
12
        </Directory>
13

    
14
        <IfModule mod_jk.c>
15
                JkMount /metacat ajp13
16
                JkMount /metacat/* ajp13
17
                JkMount /metacat/metacat ajp13
18
                JkMount /*.jsp ajp13
19
                JkUnMount /metacat/cgi-bin/* ajp13
20
                
21
        		JkOptions +ForwardURICompatUnparsed
22
        </IfModule>
23
        
24
       	AllowEncodedSlashes On
25
		AcceptPathInfo      On
26
        
27
</VirtualHost>
28

    
(6-6/8)