[users@httpd] problems accessing mounted directories

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

 



Hi,

I am running RedHat EL AS 4.0, Apache 2.0.52, fully patched.  I have a
Windows 2003 server with a share that contains documents for the
website.  I mount the windows share using the following line in fstab:

//192.xxx.xxx.xxx/web_documents /var/www/html/documents cifs
fmask=755,dmask=755,user,auto,credentials=/root/.webpasswd,uid=67,gid=67
0 0

The mount works correctly.  On my system, 67 is the uid and gid for
apache.  I can log into the box as an unprivileged user, cd into the
directory and read the files with no problem.  If I open konq and type
in file:///var/www/html/documents/index.html, konq opens the file with
no problem.  If I try http://localhost/documents/index.html, I get:

Forbidden

You don't have permission to access /documents on this server.

Additionally, a 403 Forbidden error was encountered while trying to use
an ErrorDocument to handle the request.


I read that Apache might have problems accessing mounted drives, but not
links to mounted drives, so I changed the mount point to
/var/www/documents and did an ln -s /var/www/documents
/var/www/html/documents, but I get exactly the same result.

Any ideas?  In theory, this should be possible, but I can't figure out
what I've messed up.

Thanks,

Bob

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux