phpGW logo Suggested Apache Config File
phpGroupWare

Suggested Apache Config File

# phpGroupWare suggested apache config file
# Written by Dave Hall
# Copyright © 2004 Free Software Foundation Inc
# License GNU GPL
#
# See the php configuration doc and php.net for more information
# regarding these configuration options

# Copy this file to /etc/apache (or where your apache config files are)
# Add the following to your virtual host section of Apache
# for the vhost phpgw is running on
#
# Like so:

#	:[<$port>]>
#	#Normal VirtualHost info here
#		Include /etc/apache/phpgw-apache-config.conf
#		Options -Indexes
#	
#


	# This bit is not needed here if you have changed your php.ini
	# as recommened in php-configuration.txt
	php_flag display_errors off
	php_flag file_uploads on
	php_flag log_errors on
	php_flag register_globals off
	php_value max_execution_time 90
	php_value memory_limit 20M
	php_value open_basedir "<$path/to/phpgroupware>:<$/path/to/phpgw_vfs>:<$temp>"
	php_value session.save_path <$temp>
	php_value upload_max_filesize 5M



	Order allow,deny
	Deny from all


# NOTE: Replace the <$something> with the values that suit your setup.
				

NOTE: It is best to use the text version of this document, rather than copying and pasting.