summaryrefslogtreecommitdiff
blob: dcd3434964a409435b9aef5e42ba69a4d2483b49 (plain)
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
Alias /gosa /usr/share/gosa/html

<Directory /usr/share/gosa/html>
    Options None
    AllowOverride None
    Order deny,allow
    Allow from all
</Directory>

<IfModule mod_php5.c>
<Location /gosa>
    php_admin_flag engine on
    php_admin_flag register_globals off
    php_admin_flag allow_call_time_pass_reference off
    php_admin_flag expose_php off
    php_admin_flag zend.ze1_compatibility_mode off
    php_admin_flag register_long_arrays off
    php_admin_flag magic_quotes_gpc on
    php_admin_value upload_tmp_dir /var/spool/gosa/
    php_admin_value session.cookie_lifetime 0
    include /etc/gosa/gosa.secrets
</Location>
</IfModule>

<IfModule mod_fcgid.c>
   PHP_Fix_Pathinfo_Enable 1
   <Location /gosa>
     Options +ExecCGI
     AddHandler fcgid-script .php
     FCGIWrapper /var/www/php-fcgi/php-fcgi-starter .php
     include /etc/gosa/gosa.secrets
   </Location>
</IfModule>


# vim: ts=4 filetype=apache