off topic - cifs selinux and apache question

Phill phanback at yahoo.com
Tue Jun 3 13:10:17 UTC 2008


I have a web server running Apache 2.2.3 on CentOS 5.
I am linking to an xls spreadsheet on a windows server
share. I have the share mounted cifs ro locally on the
Linux server. I am unsure what would be the best
method of doing this. The way I have it setup now
causes me to get SELinux complaints about httpd access
to non http context files, since the context on the
mounted share is cifs_t. Does anyone know the
preferred method of accessing a spreadsheet, or other
type of file located on a windows share, from Apache
web server running on Linux machine? I thought maybe
some sort of script might be the answer but I have
just a little experience with cgi. Thanks in advance!



      




More information about the fedora-list mailing list