Red Hat Bugzilla – Bug 183611
suexec module gets UserDir wrong
Last modified: 2007-11-30 17:11:25 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; MSIE 6.0; Windows; U; AIIEEEE!; Win98; Windows 98; en-US; Gecko masquerading as IE; should it matter?; rv:1.8b) Gecko/20050217
Description of problem:
If httpd config UserDir is set to anything other than "public_html" the suexec module still looks for "public_html".
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Configure httpd.conf with "UserDir WWW"
2.Configure a user ~/WWW/cgi-bin directory
3.Ensure httpd.conf has:
4. Execute cgi with browser: "http:/HOST/~USER/cgi-bin/whatever"
Actual Results: In /var/log/http/suexec.log we get:
cannot get docroot information (/home/USER)
Expected Results: It should work
If you create a ~USER/public_html which is a symlink to ~USER/WWW then suexec will work.
Also suexec doesn't have non-compile-time options, and it also doesn't communicate with httpd properly so as to get correct UserDir.
That is how the suexec security model works: if you need to change the userdir
name you need to compile a custom suexec binary.