Hello,
The setup is as follows:
usernames files are located in dir: /homeabc/username
/home/username is a symlink to /homeabc/username
usernames homedir is set to /home/username
When cagefs is active for the user - CGIs are returning internal server error. Apaches error log says:
"[Mon Jul 06 12:33:22.199164 2015] [cgi:error] [pid 838822] [client xxx.xxx.xxx.xxx:51595] AH01215: suexec policy violation: see suexec log for more details: /home/username/public_html/cgi-bin/test4.pl
[Mon Jul 06 12:33:22.199234 2015] [cgi:error] [pid 838822] [client xxx.xxx.xxx.xxx:51595] End of script output before headers: test4.pl"
suexec log says:
"[2015-07-06 12:35:24]: uid: (500/username) gid: (500/username) cmd: test4.pl
[2015-07-06 12:35:24]: cannot stat program: (test4.pl)"
When cagefs is disabled for that user - CGIs are working fine.
Any idea on how to fix this? Thanks upfront.
The setup is as follows:
usernames files are located in dir: /homeabc/username
/home/username is a symlink to /homeabc/username
usernames homedir is set to /home/username
When cagefs is active for the user - CGIs are returning internal server error. Apaches error log says:
"[Mon Jul 06 12:33:22.199164 2015] [cgi:error] [pid 838822] [client xxx.xxx.xxx.xxx:51595] AH01215: suexec policy violation: see suexec log for more details: /home/username/public_html/cgi-bin/test4.pl
[Mon Jul 06 12:33:22.199234 2015] [cgi:error] [pid 838822] [client xxx.xxx.xxx.xxx:51595] End of script output before headers: test4.pl"
suexec log says:
"[2015-07-06 12:35:24]: uid: (500/username) gid: (500/username) cmd: test4.pl
[2015-07-06 12:35:24]: cannot stat program: (test4.pl)"
When cagefs is disabled for that user - CGIs are working fine.
Any idea on how to fix this? Thanks upfront.
Comment