CGI and Selinux

Nair, Murlidharan T mnair at iusb.edu
Thu Sep 28 17:28:33 UTC 2006


I am trying to get my cgi to work on my server but for some reason, which I feel may be associated with some setting with selinux, it fails to run. 
I did the following 
 
chcon -h -t httpd_sys_script_exec_t  /mnt/webservice/splicecgi-bin
 
 
Here is what my httpd.cnf looks like since it is a virtual host.
 
<VirtualHost *:80>
    ServerName splice.bioinformatics.iusb.edu
    VirtualDocumentRoot /mnt/webservice/splicehtml
    ScriptAlias /cgi/ "/mnt/webservice/splicecgi-bin/"
    ErrorLog "/var/log/httpd/error_log"
    DirectoryIndex  index.php index.html index.htm index.shtml
<Directory "/mnt/webservice/splicehtml">
        Options Indexes Includes FollowSymLinks
        AllowOverride None
        Allow from all
        Order allow,deny
</Directory>
<Directory "/var/www/icons">
        Options Indexes MultiViews
        AllowOverride None
        Allow from all
        Order allow,deny
</Directory>
<Directory "/mnt/webservice/splicecgi-bin">
        Options ExecCGI
        AllowOverride None
        Allow from all
        Order allow,deny
</Directory>
</VirtualHost>

All the permissions are set correct.   I would appreciate some help. 
 
Thanks ../Murli
 
 
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 4916 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/redhat-install-list/attachments/20060928/2bfc202e/attachment.bin>


More information about the Redhat-install-list mailing list