On Thu, 14 Aug 2003 16:16:23 -0500, [EMAIL PROTECTED] (Tim Brom)
wrote:

>I dual-boot my computer and I have three partitions, an NTFS partition 
>for Windows XP Pro, an ext3 filesystem for Linux (Red Hat Linux 9.0) and 
>a Fat32 filesystem for my data (because FAT32 is the only filesystem 
>both OS's play nicely with). I keep the data that I want shared stored 
>on this FAT32 partition, including all the files for my websites. 
>Whenever I try to access a script off of the FAT32 partition, I get a 
>'Premature end of script headers' error message. I can copy the script 
>verbatim onto the ext3 filesystem and it works fine, and it works fine 
>on my web host's server. Does anyone know why I am getting this error 
>message only when the file is coming from a FAT32 filesystem? Thanks.

It seems probable that it's a permissions problem. Maybe the fat32
partition isn't mounted to be executable by the web server. Most web
servers are run as nobody:nogroup  so your fat32 partition would need to
be mode 777.  How do you mount it?
In /etc/fstab you need to put a umask=000  for the mount point of the
fat32 partition.
/dev/hda7      /mnt/fat32    vfat    rw,noauto,user,umask=000,quiet


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to