Sample Header Ad - 728x90

Scipts cgi and suexec

0 votes
1 answer
778 views
I have a httpd server SuexecUserGroup netmet netmet DocumentRoot /home/netmet/html ServerName ServerAdmin ErrorLog /var/log/httpd/netmet.error TransferLog /var/log/httpd/netmet.access DirectoryIndex index.cgi index.html AliasMatch /netmet-cgi-bin/nmHOST-4.*-DETAILS(.*)\.cgi /usr/lib/cgi-bin/netmet-cgi-bin/nmHOST-DETAILS$1.cgi AliasMatch /netmet-cgi-bin/nmHOST-4.*-SERVICES(.*)\.cgi /usr/lib/cgi-bin/html/netmet-cgi-bin/nmHOST-SERVICES$1.cgi AliasMatch /netmet-cgi-bin/nmTOP_NforORGA4-.*\.cgi /usr/lib/cgi-bin/netmet-cgi-bin/nmTOP_NforORGA.cgi AddHandler cgi-script .cgi .pl When I try to access to those scripts with my server, I get **500 internal server error** so I check error.log : [Fri Jun 02 09:07:01.467017 2017] [core:notice] [pid 31617] AH00094: Command line: '/usr/sbin/apache2' suexec policy violation: see suexec log for more details Now the suexec.log : After looking on the web a solution, people advice to do ~# /usr/lib/apache2/suexec -V -D SUEXEC_CONFIG_DIR=/etc/apache2/suexec/ -D AP_GID_MIN=100 -D AP_LOG_EXEC="/var/log/apache2/suexec.log" -D AP_SAFE_PATH="/usr/local/bin:/usr/bin:/bin" -D AP_UID_MIN=100 Why **DOC_ROOT** is not displayed ??
Asked by klaypez (323 rep)
Jun 2, 2017, 07:40 AM
Last activity: Mar 3, 2018, 05:20 PM