Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Error message in logs

 
   Web Hosting Problem Solving Community! (Home) -> Apache RSS
Next:  AffordableHost==>AxisHost: Anybody else unable..  
Author Message
ask4

External


Since: Mar 15, 2004
Posts: 12



(Msg. 1) Posted: Tue Sep 06, 2005 5:55 pm
Post subject: Error message in logs
Archived from groups: alt>apache>configuration (more info?)

I am getting this error message for a virtual host:

(70014)End of file found: mod_mime_magic: read failed
/path/to/file/italian.langz

This file is used by a Java application and can be read trought http by
browser.

Does anybody know what could it mean or haw to fix ?

Thanks

 >> Stay informed about: Error message in logs 
Back to top
Login to vote
Richard Antony Burton

External


Since: Aug 26, 2005
Posts: 22



(Msg. 2) Posted: Tue Sep 06, 2005 6:55 pm
Post subject: Re: Error message in logs [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Fabi wrote:
> I am getting this error message for a virtual host:
>
> (70014)End of file found: mod_mime_magic: read failed
> /path/to/file/italian.langz
>
> This file is used by a Java application and can be read trought http by
> browser.

A quick look at the code suggests that the error probably comes from
trying to read the first x bytes, and I guess this file is so short so
it fails to do that. You could turn off mod_mime_magic, or manually set
a mime type for .langz files.

Richard.

 >> Stay informed about: Error message in logs 
Back to top
Login to vote
ask4

External


Since: Mar 15, 2004
Posts: 12



(Msg. 3) Posted: Wed Sep 07, 2005 12:50 am
Post subject: Re: Error message in logs [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks,

I think this is the issue, now I am searching how to tell apache the mime
type for langz files.
I think I can try by adding something like:

AddType application/x-httpd-php-source .langz

but I don't know which mime type to use: it is a 14kb binary file used by a
java software.

Could you help ?

> A quick look at the code suggests that the error probably comes from
> trying to read the first x bytes, and I guess this file is so short so it
> fails to do that. You could turn off mod_mime_magic, or manually set a
> mime type for .langz files.
 >> Stay informed about: Error message in logs 
Back to top
Login to vote
Richard Antony Burton

External


Since: Aug 26, 2005
Posts: 22



(Msg. 4) Posted: Wed Sep 07, 2005 8:55 am
Post subject: Re: Error message in logs [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Fabi wrote:

> AddType application/x-httpd-php-source .langz
>
> but I don't know which mime type to use: it is a 14kb binary file used by a
> java software.
>
> Could you help ?

Probably application/octet-stream, this is just a generic binary type.
However if your file is 14k then the problem I suggested (file too
small) may not be the case, however if you avoid magic running against
this file it'll probably still fix your logging problem.

Richard.
 >> Stay informed about: Error message in logs 
Back to top
Login to vote
ask4

External


Since: Mar 15, 2004
Posts: 12



(Msg. 5) Posted: Wed Sep 07, 2005 11:55 am
Post subject: Re: Error message in logs [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thank you for your help!

I have added this row in the meantime:

AddType application/x-myapp .langz

the error is not recorded anymore, I think this could be a fix too Confused
I don't know how to avoid magic Sad

> Probably application/octet-stream, this is just a generic binary type.
> However if your file is 14k then the problem I suggested (file too small)
> may not be the case, however if you avoid magic running against this file
> it'll probably still fix your logging problem.
 >> Stay informed about: Error message in logs 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]