[3622] | 1 | # Apache and PHP configuration for EGroupware |
---|
| 2 | # |
---|
| 3 | # Many settings are required to have a # certain value for eGroupWare |
---|
| 4 | # to function reasonably, so only change something if you are sure. |
---|
| 5 | |
---|
| 6 | # this makes EGroupware available for all vhosts |
---|
| 7 | Alias /expressolivre /usr/share/expressolivre |
---|
| 8 | |
---|
| 9 | <Directory /usr/share/expressolivre/> |
---|
| 10 | Options FollowSymLinks ExecCGI |
---|
| 11 | AllowOverride None |
---|
| 12 | Order allow,deny |
---|
| 13 | Allow from all |
---|
| 14 | DirectoryIndex index.html index.php |
---|
| 15 | AddHandler cgi-script .cgi |
---|
| 16 | AddDefaultCharset Off |
---|
| 17 | php_flag file_uploads on |
---|
| 18 | php_flag log_errors on |
---|
| 19 | php_flag magic_quotes_gpc off |
---|
| 20 | php_flag magic_quotes_runtime off |
---|
| 21 | php_flag register_globals off |
---|
| 22 | php_flag short_open_tag on |
---|
| 23 | php_flag track_vars on |
---|
| 24 | php_flag display_errors off |
---|
| 25 | # E_ALL & ~E_NOTICE & ~E_STRICT = 8191 - 8 - 2048 = 6135 |
---|
| 26 | php_value error_reporting 6135 |
---|
| 27 | php_value max_execution_time 90 |
---|
| 28 | php_admin_value mbstring.func_overload 7 |
---|
| 29 | php_value memory_limit 64M |
---|
| 30 | php_value session.gc_maxlifetime 14400 |
---|
| 31 | php_value include_path .:/usr/share/pear |
---|
| 32 | php_admin_value open_basedir /usr/share/expressolivre:/var/lib/expressolivre:/tmp:/usr/share/pear:/usr/bin/zip:/usr/share/jpgraph:/usr/bin/tnef:/usr/bin/aspell |
---|
| 33 | php_value upload_max_filesize 64M |
---|
| 34 | php_admin_value upload_tmp_dir /tmp |
---|
| 35 | php_value post_max_size 65M |
---|
| 36 | <Files ~ "\.inc\.php$"> |
---|
| 37 | Order allow,deny |
---|
| 38 | Deny from all |
---|
| 39 | </Files> |
---|
| 40 | </Directory> |
---|
| 41 | |
---|