I have installed a new server (Red Hat Enterprise Linux Server release 7.3) to move my existing web application too. Now that everything is moved when I try to bring up the main page I get the following error:
“500 Internal Server Error “
And in the log /var/log/httpd\error_log I get:
[cgi:error] [pid 10335] [client 10.20.25.115:49855] End of script output before headers: texis
The default apache site comes up without any issues it is the texis site I get the errors on?
If I change selinux to not enforce the site comes up.
My document root is not the default /var/www and so I did run the following commands to set the selinux permissions:
chcon -Rv --type=httpd_sys_content_t /newdocroot
I also ran this for the cgi-bin area:
chcon --type=httpd_unconfined_script_exec_t /usr2/pub/httpd/cgi-bin
My Apache version:
Apache/2.4.6 (Red Hat Enterprise Linux)
Server built: Aug 3 2016 08:33:27
My Texis version:
Texis Web Script (Vortex) Copyright (c) 1996-2004 Thunderstone - EPI, Inc.
Commercial Version 5.00.1086121238 20040601 (i686-unknown-linux2.4.9-64-32)
Since it works with SElinux off I know I must be missing an additional chcon change. Can you help me understand how SElinux needs to be configured to allow texis to run properly?
Thanks
“500 Internal Server Error “
And in the log /var/log/httpd\error_log I get:
[cgi:error] [pid 10335] [client 10.20.25.115:49855] End of script output before headers: texis
The default apache site comes up without any issues it is the texis site I get the errors on?
If I change selinux to not enforce the site comes up.
My document root is not the default /var/www and so I did run the following commands to set the selinux permissions:
chcon -Rv --type=httpd_sys_content_t /newdocroot
I also ran this for the cgi-bin area:
chcon --type=httpd_unconfined_script_exec_t /usr2/pub/httpd/cgi-bin
My Apache version:
Apache/2.4.6 (Red Hat Enterprise Linux)
Server built: Aug 3 2016 08:33:27
My Texis version:
Texis Web Script (Vortex) Copyright (c) 1996-2004 Thunderstone - EPI, Inc.
Commercial Version 5.00.1086121238 20040601 (i686-unknown-linux2.4.9-64-32)
Since it works with SElinux off I know I must be missing an additional chcon change. Can you help me understand how SElinux needs to be configured to allow texis to run properly?
Thanks