You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by UHISWdev UHISWdev <uh...@groupwise.uhi.ac.uk> on 2004/02/11 11:39:08 UTC
apache 2.0.48 mod_userdir over nfs mount
Apache 2.0.48 - mod_userdir won't serve from an nfs mount on Linux kernel 2.4.21-166-smp4G
Apache 1.3.x works fine but nothing comes out of Apache 2.
On the previous kernel it would serve files < 255 bytes but now it doesn't serve anything.
The command to do the mounts:
ncpmount -S server -A server.org.uk -U user.org -P password /mnt/public_html_dirs/server
the user doing the mount has enough privileges to see the public_html directories. Apache can see them - just can't serve them!
Does anyone know of a workaround?
thanks,
Alistair
Re: apache 2.0.48 mod_userdir over nfs mount
Posted by Joe Orton <jo...@redhat.com>.
On Wed, Feb 11, 2004 at 10:39:08AM +0000, UHISWdev UHISWdev wrote:
> Apache 2.0.48 - mod_userdir won't serve from an nfs mount on Linux kernel 2.4.21-166-smp4G
> Apache 1.3.x works fine but nothing comes out of Apache 2.
> On the previous kernel it would serve files < 255 bytes but now it doesn't serve anything.
> The command to do the mounts:
>
> ncpmount -S server -A server.org.uk -U user.org -P password /mnt/public_html_dirs/server
You need to disable sendfile and possibly mmap too for an ncpfs mount:
http://httpd.apache.org/docs-2.0/mod/core.html#enablesendfile
joe