[OpenIndiana-discuss] apache24 suexec: cannot get current working directory

Markus Wernig listener at wernig.net
Tue Dec 5 23:10:27 UTC 2017


Hi all

I have apache24 (installed from the oi repos) with mpm_prefork (and thus
mod_cgi), and need to have cgi scripts executed with suexec within
virtual hosts. All the usual prerequisites [1] are met imo, but still I
get an error:

apache log:
[Tue Dec 05 21:52:48.324331 2017] [cgi:error] [pid 9541] [client
n.n.n.n:44930] AH01215: suexec policy violation: see suexec log for more
details: /var/apache2/2.4/htdocs/path/to/vhost/cgi-bin/scriptname,
referer: https://site.tld

suexec log:
[2017-12-05 21:52:48]: uid: (100/$user) gid: (100/$group) cmd: scriptname
[2017-12-05 21:52:48]: cannot get current working directory

Just to rule out a general error: Does anybody have suexec working on
OI? Any ideas?

Thx /markus

[1] https://httpd.apache.org/docs/current/suexec.html



More information about the openindiana-discuss mailing list