Date: Sat, 16 Aug 2003 09:20:52 +0200 From: "Stephen Marquard" <scm@marquard.net> To: freebsd-questions@freebsd.org Subject: Apache2 on FreeBSD 4.8-R returns garbage from nwfs-mounted filesystem Message-ID: <20030816072055.43E2651F1@ctb-mesg1.saix.net>
next in thread | raw e-mail | index | archive | help
Hi, I am running Apache 2.0.47 on FreeBSD 4.8-RELEASE (compiled from FreeBSD ports, default install), with a virtual website set up to access files mounted on a Netware filesystem. The filesystem is mounted using mount_nwfs. The FreeBSD kernel has NCP and NWFS compiled in to support the Netware filesystem. As a normal user or even as the www user which apache2 runs as, it is possible to read the files on the Netware-mounted filesystem normally. However, when the virtual website is accessed, apache2 returns garbage, no matter what the file accessed. The contents appear to be random parts of other files on the system (or could be from the server memory space, I'm not sure). Apache2 is returning a file of the correct length however, just that the contents are completely different. If I use a php page to include() a file on the netware-mounted filesystem, it works correctly. Running the same setup under apache1 works as expected, i.e. does not return garbage. This appears to be a problem with apache2's handling of files read from nwfs-mounted filesystems, where the contents somehow become corrupt. Does anyone have a solution to this, or should I submit it as an apache2 bug report ? I'm happy to do any further diagnostic tests that anyone can suggest. Regards Stephen --- Stephen Marquard ICT Consultant scm@marquard.net Cell: +27-83-500-5290
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030816072055.43E2651F1>