Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

We're in the middle of setting up new servers, and have been having some odd problems with Apache.

Apache is prepending text that looks like this:

$15plðI‚‚�E�ðA™@�@��yeÔ|~Ÿ²�PγZ" zS€�8i³��
,ÀŠ{ÿBHTTP/1.1 200 OK
Date: Mon, 02 Feb 2009 22:28:05 GMT
Server: Apache/2.2.3 (CentOS)
Last-Modified: Mon, 02 Feb 2009 22:28:05 GMT
ETag: W/"1238007d-2224e-fe617f40"
Accept-Ranges: bytes
Content-Length: 139854
Connection: close
Content-Type: application/x-javascript

To all files. The file I copied the above text from is the prototype library js file. As loaded from our server.

I've searched, but couldn't find much about this problem Maybe I don't know what I'm searching for...

Anyway, if anyone has seen this behaviour before, could they please let me know either 1) how to fix it so that this content is not prepended to all files, or 2) where to look for further help.

Thanks

share|improve this question

2 Answers 2

up vote 0 down vote accepted

I have seen this happen once, due to a mismatch between shared libraries on my NetBSD machine and what Apache was linked with. Bad Things were happening, and I never did fully trace it down. A full recompile of the OS (I'm a NetBSD developer) and the pkgsrc (all the stuff like apache) "fixed" it.

share|improve this answer
    
I think this is the approach we will take, thank you. –  Michael Robinson Jun 9 '10 at 9:24

Try to disable unneeded modules

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.