View Single Post
 
Old Apr 21, 2002, 10:12 AM
splash's Avatar
splash splash is offline
Member
 
Member Since: May 2001
Location: Massachusetts, USA
Posts: 176
hi delyorik,

here's what apache has to say as the cause for this error message: <A target="_blank" HREF=http://httpd.apache.org/docs/misc/FAQ-F.html#premature-script-headers>http://httpd.apache.org/docs/misc/FAQ-F.html#premature-script-headers</A>

what have you tried?

- this error may mean that the header is incorrect. make sure that the top line reads:
#!/usr/bin/perl

- check the file's location (sometimes, this is apache's way of saying "file not found")

- check file permissions: you may need to chmod 755 (no write privileges for group)

- if you develop on windows and deploy to unix/linux box, make sure the file is not in DOS format (with carriage returns).

- make sure you upload in ascii format

- make sure all needed modules are installed on the server.

as you can see, it can be a number of things, and i probably missed something.

good luck, and let us know what you tried and what worked.

splash