Linux-kernel mailing list archive 1999-23,: Re: generalizing khttpd

# Re: generalizing khttpd

Riley Williams (rhw@MemAlpha.CX)
Sat, 12 Jun 1999 14:31:54 +0100 (GMT)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Ingo Molnar: "Re: New schedule() and semaphore implementation ..."
- Previous message: Steven N. Hirsch: "2.2.9-ac5 fix for smbfs"
- In reply to: Chris Allegretta: "Re: generalizing khttpd"

Hi Chris.

>> kHTTPd adds rule 4:

>> 4. If the file is executable or non-world-readable

> I'm sure I'm missing something obvious here, but what if the
> html files you have are mounted on a FAT16 filesystem? Aren't
> they all going to be listed as executable?

Not if it's done correctly - try using lines similar to the following
in /etc/fstab on your system:

Q> /dev/hda1 /win95 vfat defaults,noexec 0 0

Note that "noexec" which turns off the x attributes on files, but
leaves them turned on for directories so you can get at the files
therein.

> I suppose the argument of "NT serves html files from a FAT
> filesystem 1.6% faster than Linux" isn't particularly
> convincing, but I was just curious.

If it's done correctly, that shouldn't happen anyway.

Best wishes from Riley.

+----------------------------------------------------------------------+
| There is something frustrating about the quality and speed of Linux |
| development, ie., the quality is too high and the speed is too high, |
| in other words, I can implement this XXXX feature, but I bet someone |
| else has already done so and is just about to release their patch. |
+----------------------------------------------------------------------+
* ftp://ftp.MemAlpha.cx/pub/rhw/Linux
* http://www.MemAlpha.cx/kernel.versions.html

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

- Next message: Ingo Molnar: "Re: New schedule() and semaphore implementation ..."
- Previous message: Steven N. Hirsch: "2.2.9-ac5 fix for smbfs"
- In reply to: Chris Allegretta: "Re: generalizing khttpd"