apache selinx problem
- From: Bill Tangren <bjt@xxxxxxxxxxxxxxxx>
- Date: Mon, 06 Nov 2006 13:11:16 -0500
I am having a perplexing apache problem, probably caused by incorrect permissions on files and/or directories.
I three web servers. One does not run on a server that uses SELinux. The other two do. One of them executes scripts just fine. The other does not. This is the error I get:
[Mon Nov 06 12:54:45 2006] [error] [client 10.1.5.58] (13)Permission denied: exec of '/home/httpd/cgi-bin/aa_geocentric.pl' failed
[Mon Nov 06 12:54:45 2006] [error] [client 10.1.5.58] Premature end of script headers: aa_geocentric.pl
The script is located in /home/httpd/cgi-bin. [The same script is located on the other two servers, and works just fine.] This is what I get when looking at permissions.
# ll -Z /home
drwxr-xr-x apache AA system_u:object_r:httpd_sys_content_t httpd
# ll -Z /home/httpd
drwxrwxr-x apache AA system_u:object_r:httpd_sys_script_exec_t cgi-bin
# ll -Z /home/httpd/aa_geocentric.pl
-rwxrwxr-x apache AA system_u:object_r:httpd_sys_script_exec_t aa_geocentric.pl
"AA" is my department's user's group.
I can log into the server and run the script from the command line just fine.
Html seems to render just fine. The problem is with cgi scripts. I've tried UNIX shell scripts, and I get the same problem.
Any ideas what the problem might be?
TIA,
Bill Tangren
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
- Follow-Ups:
- RE: apache selinx problem
- From: Jay Berryman
- RE: apache selinx problem
- Prev by Date: Re: boot problem
- Next by Date: RE: apache selinx problem
- Previous by thread: smb
- Next by thread: RE: apache selinx problem
- Index(es):
Relevant Pages
|