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_rewrite.c>
15
                RewriteEngine on
16
                RewriteCond %{HTTP:Authorization} ^(.*)
17
                RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]
18
        </IfModule>
19
        
20
        <IfModule mod_jk.c>
21
                JkMount /metacat ajp13
22
                JkMount /metacat/* ajp13
23
                JkMount /metacat/metacat ajp13
24
                JkMount /*.jsp ajp13
25
                JkUnMount /metacat/cgi-bin/* ajp13
26
                
27
        		JkOptions +ForwardURICompatUnparsed
28
        </IfModule>
29
        
30
       	AllowEncodedSlashes On
31
		AcceptPathInfo      On
32
        
33
</VirtualHost>
34

    
(6-6/8)