/etc/apache2/conf/vhosts.conf says: #- We added the User and Group directives so VirtualHosts now work with # suexec directive. However, these directives have been combined into a single new directive, SuExecUserGroup [user] [group] Apache2 gives a syntax error using the old method, and won't start. Reproducible: Always Steps to Reproduce: 1. Configure apache2 for suexec (loadmodule suexec modules/suexec.so) 2. Add a virtualhost in vhosts.conf with user and group directives as advertised 3. start apache2 and watch it not work Actual Results: * Starting apache2... Syntax error on line 11 of /etc/apache2/conf/vhosts/vhosts.conf: User cannot occur within <VirtualHost> section [ !! ] Expected Results: * Starting apache2... [ ok ]
Ok fair enough; updated the example to agree with the "new" way.