]>
Commit | Line | Data |
---|---|---|
4e850fe0 ER |
1 | # Apache and PHP configuration for eGroupWare |
2 | # | |
3 | # Read /usr/share/doc/egroupware-core/phpgwapi/php-configuration.txt and | |
4 | # /etc/php/php.ini about the meanings and suggested values for | |
5 | # the configuration settings. Many settings are required to have a | |
6 | # certain value for eGroupWare to function reasonably, so only change | |
7 | # something if you are sure. | |
e768ce3e ER |
8 | |
9 | Alias /egroupware /usr/share/egroupware | |
4e850fe0 | 10 | |
e768ce3e | 11 | <Directory /usr/share/egroupware> |
4e850fe0 ER |
12 | Options FollowSymLinks ExecCGI |
13 | AllowOverride None | |
14 | Order allow,deny | |
15 | Allow from all | |
16 | DirectoryIndex index.html index.php | |
17 | AddHandler cgi-script .cgi | |
18 | AddDefaultCharset Off | |
19 | php_flag file_uploads on | |
4e850fe0 ER |
20 | php_flag magic_quotes_gpc on |
21 | php_flag magic_quotes_runtime off | |
4e850fe0 ER |
22 | php_flag short_open_tag on |
23 | php_flag track_vars on | |
24 | php_value error_reporting 'E_ALL & ~E_NOTICE' | |
25 | php_value max_execution_time 90 | |
26 | php_value mbstring.func_overload 7 | |
27 | php_value memory_limit 24M | |
28 | php_value session.gc_maxlifetime 1440 | |
6dd8e63e | 29 | php_value session.save_path /var/run/egroupware |
4e850fe0 ER |
30 | php_value open_basedir /usr/share/egroupware:/var/lib/egroupware:/tmp |
31 | php_value upload_max_filesize 6M | |
32 | <Files ~ "\.inc\.php$"> | |
33 | Order allow,deny | |
34 | Deny from all | |
35 | </Files> | |
36 | </Directory> | |
37 | ||
38 | <Directory /usr/share/egroupware/fudforum> | |
39 | AllowOverride Limit Options | |
e768ce3e ER |
40 | </Directory> |
41 | ||
4e850fe0 ER |
42 | <Directory /usr/share/egroupware/phpsysinfo> |
43 | php_value open_basedir / | |
44 | </Directory> | |
45 | ||
46 | <Location /egroupware/icalsrv.php> | |
47 | Script PUT /usr/share/egroupware/icalsrv.php | |
48 | AddHandler ical/ics .ics | |
49 | Action ical/ics /usr/share/egroupware/icalsrv.php | |
50 | Order allow,deny | |
51 | Allow from all | |
52 | </Location> | |
53 | ||
54 | <Location /egroupware/rpc.php> | |
55 | php_value mbstring.func_overload 0 | |
56 | Order allow,deny | |
57 | Allow from all | |
58 | </Location> |