The default value for this option is
PREFIX/share/htdocs, where ‘PREFIX’ comes from the value of the
--prefix option, explicit or implied.
--suexec-gidmin=gidsuexec‘s restrictions is that the user it’sroot user, but suexec takes this a step further and
The default value for this option, if not specified, is
100.
--suexec-logfile=filenameroot, but closed before control is passed to the script.
The
default for this option is PREFIX/var/log/suexec_log, where
‘PREFIX’ is the value from the --prefix option.
--suexec-safepath=path-listPATH is set to a known list
The default value for --suexec-safepath is
/usr/local/bin:/usr/bin:/bin.
--suexec-uidmin=uid--suexec-gidmin option described earlier, thissuexec of forbidden UID values. If a~root/script.
The default value for this option is
100.
--suexec-umask=octal-umaskumask(1) command for
If this option isn’t defined at compile-time, at run-time the
suexec wrapper will inherit the umask setting from the parent
Apache server process.
--suexec-userdir=pathsuexec will use to find scripts for~username-style URLs. This needs to match the setting of theUserDir directive in your server configuration files.
Note:
suexec can only handle simple subdirectory expressions. The
more complex pattern-handling capabilities of the mod_userdir
module (which implements the UserDir directive) cannot be used
with the suexec wrapper.
The default --suexec-userdir setting is
public_html.
If you want to change the location of the suexec binary, you
can do so by adding a new definition of SUEXEC_BIN to the
compilation flags:
% env CFLAGS="-Wall -DSUEXEC_BIN="/usr/local/web/apache/suexec""
> ./configure --enable-suexec ...
You should be extremely cautious about changing other definitions, such as
HTTPD_ROOT, however, since suexec isn't the only part
of Apache that uses them.
User IDs Suexec Will Use
Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved
Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.