Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31787 - apache2 suexec option for vhosts is different than vhosts.conf directs you to use
Summary: apache2 suexec option for vhosts is different than vhosts.conf directs you to...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-22 18:51 UTC by Josh Grebe (RETIRED)
Modified: 2003-10-30 09:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Josh Grebe (RETIRED) gentoo-dev 2003-10-22 18:51:11 UTC
/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 ]
Comment 1 Donny Davies (RETIRED) gentoo-dev 2003-10-30 09:33:13 UTC
Ok fair enough; updated the example to agree with the "new" way.