|
Apache access to mounted folder
Is it possible for Apache (running on Fedora 10) to serve files from a mounted samba folder?
My DocumentRoot of httpd.conf is set to the default /var/www/html, and then I create a mounted folder:
mkdir /var/www/html/mysite
mount -t cifs //192.168.0.100/M -o username=Admin /var/www/html/mysite
If I then try to navigate to anywhere within localhost/mysite in a browser I get "you do not have permission to access...".
Is there any way to set permissions to allow this?
I have also tried setting DocumentRoot to the mounted folder itself, but this does not even allow me to start Apache ("DocumentRoot must be a directory" error).
I have selinux turned off.
Thanks for any help.
|