You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Kristof Van Landschoot <ap...@coin-c.com> on 2004/12/08 16:47:19 UTC
[users@httpd] DocumentRoot on mounted vfat Volume
Hi,
A friend of mine wants to have a documentroot on a mounted vfat volume
he used to use on his old system. It seems we can't get it to work.
The symptoms:
- Error message: Document Root should be a directory.
- An strace /usr/sbin/httpd gives that stat64("/mnt/winroot/websites/")
returns -1 access denied, however:
- The vfat system is mounted with a umask of 000 under the apache user's
account. Issuing sudo -u apache ls /mnt/winroot/websites/ gives the
output of the ls. The ls -la's of all the /mnt/winroot hierarchy shows
owner apache.apache, and permissions 777 all the way.
Extra info:
- System: Fedora Core 3 on a Pentium 2
- Version: Apache 2.0.52
We are out of ideas to fix this. The error_log doesn't give any extra
information, even at debug level. We've tried tweaking the httpd.conf
file in various ways, and it works in all circumstances but when we move
the DocumentRoot to /mnt/winroot/something.
Any ideas welcome.
Thanks,
Kristof
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] DocumentRoot on mounted vfat Volume
Posted by "Ivan Barrera A." <Br...@Ivn.cl>.
MMh
I dont know if mounting document root on a vfat volume will work..
but did you set apache to run under a user who can access de path ?
i.e ... mount the vfat volume on /www but with user apache , and run
apache with uid and gid apache.
Still i dont know if it would work
Kristof Van Landschoot wrote:
> Hi,
>
> A friend of mine wants to have a documentroot on a mounted vfat volume
> he used to use on his old system. It seems we can't get it to work.
>
> The symptoms:
>
> - Error message: Document Root should be a directory.
> - An strace /usr/sbin/httpd gives that stat64("/mnt/winroot/websites/")
> returns -1 access denied, however:
> - The vfat system is mounted with a umask of 000 under the apache user's
> account. Issuing sudo -u apache ls /mnt/winroot/websites/ gives the
> output of the ls. The ls -la's of all the /mnt/winroot hierarchy shows
> owner apache.apache, and permissions 777 all the way.
>
> Extra info:
>
> - System: Fedora Core 3 on a Pentium 2
> - Version: Apache 2.0.52
>
> We are out of ideas to fix this. The error_log doesn't give any extra
> information, even at debug level. We've tried tweaking the httpd.conf
> file in various ways, and it works in all circumstances but when we move
> the DocumentRoot to /mnt/winroot/something.
>
> Any ideas welcome.
>
> Thanks,
> Kristof
>
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org