summaryrefslogtreecommitdiff
path: root/www/horde4-base/httpd.conf.phplib
blob: 16a4c519ab0217114b29d2faf2563a7552b79b02 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Added for Horde   
<Directory /home/httpd/html/horde>  
    Options Indexes FollowSymLinks
    AllowOverride None
    order allow,deny
    allow from all
    <IfModule mod_php3.c>
        php3_include_path '/home/httpd/phplib:.'
        php3_auto_prepend_file /home/httpd/phplib/prepend.php3
        php3_magic_quotes_gpc Off
        php3_track_vars On
    </IfModule>
    <IfModule mod_php4.c>
        php_value include_path '/home/httpd/phplib:.'
        php_value auto_prepend_file /home/httpd/phplib/prepend.php3
        php_flag register_globals On
        php_flag magic_quotes_gpc Off
        php_flag track_vars On
    </IfModule>
</Directory>

<IfModule mod_alias.c>
    Alias /horde/ "/home/httpd/html/horde/"
</IfModule>
#
# For security, don't serve pages from the Horde configuration and library
# directories.
#
<Directory "/home/httpd/html/horde/config">
    Order deny,allow
    Deny from all
</Directory>
<Directory "/home/httpd/html/horde/lib">
    Order deny,allow
    Deny from all
</Directory>
<Directory "/home/httpd/html/horde/locale">
    Order deny,allow
    Deny from all
</Directory>
<Directory "/home/httpd/phplib">
    Order deny,allow
    Deny from all
</Directory>
<Directory "/home/httpd/html/horde/scripts">
    Order deny,allow
    Deny from all
</Directory>
<Directory "/home/httpd/html/horde/templates">
    Order deny,allow
    Deny from all
</Directory>
# End of Horde configuration ================