Re: off topic - cifs selinux and apache question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Phill wrote:
> 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!
> 
> 
> 
>       
> 

If you turn on httpd_enable_homedirs use_samba_home_dirs

it should work

setsebool -P httpd_enable_homedirs=1 use_samba_home_dirs=1

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux