Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Unable to execute CGI scripts under a domain  (Read 2255 times)

0 Members and 1 Guest are viewing this topic.

jerrys

  • Guest
Unable to execute CGI scripts under a domain
« on: November 25, 2017, 08:26:49 pm »
Error seen:
----------------
tailf /var/log/httpd/suexec_log
SoftException in Application.cpp:146: Mismatch between target owner username (10002) and UID (510) of file "/home/username/public_html/test.cgi"


Reason:
------------
Mismatch between the owner and group status of the cgi file.

Resolution: Change the ownership and group of the cgi-bin directory along with all the files under the directory of the domain’s document root as per the error seen
In this case the command is:
chown -R 10002:505 cgi-bin