Re: Premature end of script headers Linux with Fat32 filesystem
"Tim Brom" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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. > > Tim Brom > [EMAIL PROTECTED] > Sounds like there could be an issue with file formats. Is your web server on Red Hat? Perhaps you need to save your scripts in Unix file format. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Premature end of script headers Linux with Fat32 filesystem
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/fat32vfatrw,noauto,user,umask=000,quiet -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Premature end of script headers Linux with Fat32 filesystem
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. Tim Brom [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]