Sandbox Server/Apache config

## DocRoot for standard websites (only access for admins and roots of the server => chmod 771)
DocumentRoot /www 

## The tools of the users should be under http://<server url>/~<username> 

# Use dir /home/<username>/public_html for files of users which should be on web
UserDir public_html

# Enable cgi in /home/<username>/public_html/cgi-bin
<Directory /home/*/public_html/cgi-bin>
Options ExecCGI
SetHandler cgi-script
</Directory> 

configure options

edit

--enable-so --with-mpm-worker

## PHP config

# Config for PHP5
Action php5-script /usr/bin/php5
AddHandler php5-script .php .php5

# Config for PHP6
Action php6-script /usr/bin/php6
AddHandler php6-script .php6

Modules

edit
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule mime_module modules/mod_mime.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule userdir_module modules/mod_userdir.so


--Jan Luca 15:29, 2 January 2010 (UTC)