[OpenIndiana-discuss] recompile apache2 suexec how to?
Jim Klimov
jimklimov at cos.ru
Sat Dec 1 15:39:11 UTC 2012
On 2012-12-01 16:26, carl brunning wrote:
> HI Jim
> Thank for that information
>
> --with-suexec-userdir=DIR is what i have to do
> But this is not a command this is what I have to compile.
Well, according to that documentation, this compiled parameter sets the
subdir under user's home (from /etc/passwd), such as "public_html", that
would be used to suexec scripts owned by a user when processing the
Apache's "UserDir" option.
If I read (and remember) this correctly, then as long as your users'
scripts are anywhere under "/home/$username/public_html", the compiled
"suexec-userdir=/home" should work.
> The change is to do with the path as the default is
/var/apache2/2.2/htdocs
> And i need it to look in /home
What you described in the original post seems more like the second
option, --with-suexec-docroot, no?
//Jim
More information about the OpenIndiana-discuss
mailing list