From 0677e339f57fac7dc90ff45ae2932a11e9777aeb Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 30 Sep 2009 08:53:47 +0000 Subject: [PATCH] some files required for new rpm build --- doc/rpm-build/apache.conf | 52 +++++++++++++++++++++++++++++++++++ doc/rpm-build/egroupware.cron | 4 +++ doc/rpm-build/header.inc.php | 8 ++++++ 3 files changed, 64 insertions(+) create mode 100644 doc/rpm-build/apache.conf create mode 100644 doc/rpm-build/egroupware.cron create mode 100644 doc/rpm-build/header.inc.php diff --git a/doc/rpm-build/apache.conf b/doc/rpm-build/apache.conf new file mode 100644 index 0000000000..c76eb13bdb --- /dev/null +++ b/doc/rpm-build/apache.conf @@ -0,0 +1,52 @@ +# Apache and PHP configuration for EGroupware +# +# Many settings are required to have a # certain value for eGroupWare +# to function reasonably, so only change something if you are sure. + +# this makes EGroupware available for all vhosts +Alias /egroupware /usr/share/egroupware + + + Options FollowSymLinks ExecCGI + AllowOverride None + Order allow,deny + Allow from all + DirectoryIndex index.html index.php + AddHandler cgi-script .cgi + AddDefaultCharset Off + php_flag file_uploads on + php_flag log_errors on + php_flag magic_quotes_gpc off + php_flag magic_quotes_runtime off + php_flag register_globals off + php_flag short_open_tag on + php_flag track_vars on + php_flag display_errors off + php_value error_reporting 'E_ALL & ~E_NOTICE' + php_value max_execution_time 90 + php_admin_value mbstring.func_overload 7 + php_value memory_limit 64M + php_value session.gc_maxlifetime 14400 + php_value include_path .:/usr/share/pear + php_admin_value open_basedir /usr/share/egroupware:/var/lib/egroupware:/tmp:/usr/share/pear:/usr/bin/zip:/usr/share/jpgraph + php_value upload_max_filesize 64M + php_value post_max_size 65M + + Order allow,deny + Deny from all + + + + + php_admin_value open_basedir / + + + + php_admin_value open_basedir /usr/share/egroupware:/var/lib/egroupware:/tmp:/usr/share/pear:/usr/bin:/bin + + + + php_admin_value mbstring.func_overload 0 + Order allow,deny + Allow from all + diff --git a/doc/rpm-build/egroupware.cron b/doc/rpm-build/egroupware.cron new file mode 100644 index 0000000000..4bfc904fef --- /dev/null +++ b/doc/rpm-build/egroupware.cron @@ -0,0 +1,4 @@ +MAILTO=root +SHELL=/bin/bash +# run EGroupware's async services for all domains +*/5 * * * * apache /usr/bin/php -q /usr/share/egroupware/phpgwapi/cron/asyncwrapper.php diff --git a/doc/rpm-build/header.inc.php b/doc/rpm-build/header.inc.php new file mode 100644 index 0000000000..9b00f23516 --- /dev/null +++ b/doc/rpm-build/header.inc.php @@ -0,0 +1,8 @@ +