httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Di Martino <...@openaccessinc.com>
Subject [users@httpd] Help with executing cgi progams
Date Thu, 30 Jul 2009 14:13:51 GMT
I trying to run cricket on my Apache 2 web server using suexec.
However, I getting the following error every time I try to launch the cgi program.

[2009-07-30 09:13:15]: uid: (524/cricket) gid: (525/525) cmd: grapher.cgi
[2009-07-30 09:31:11]: uid: (524/cricket) gid: (525/525) cmd: grapher.cgi
[2009-07-30 09:31:11]: cannot stat program: (grapher.cgi)

Below is the output of my setup from /usr/sbin/apachectl -V and the UserDir of my httpd.conf
file.

/usr/sbin/apachectl
[root@spock ~]# 
[root@spock ~]# /usr/sbin/apachectl -V
Server version: Apache/2.2.3
Server built:   Jan 21 2009 22:01:41
Server's Module Magic Number: 20051115:3
Server loaded:  APR 1.2.7, APR-Util 1.2.7
Compiled using: APR 1.2.7, APR-Util 1.2.7
Architecture:   32-bit
Server MPM:     Prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=128
 -D HTTPD_ROOT="/etc/httpd"
 -D SUEXEC_BIN="/usr/sbin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="logs/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"
[root@spock ~]#


<IfModule mod_userdir.c>
    UserDir public_html
</IfModule>

SuexecUserGroup "#524" "#525"

<Directory /home/*/public_html>
Options +ExecCGI
AddHandler cgi-script .cgi
</Directory>

Thanks
Michael 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message