httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bo Berglund <>
Subject [users@httpd] Re: File renders differently when opened through Apache or direct, why?
Date Sat, 11 May 2013 18:06:22 GMT
On Sat, 11 May 2013 12:45:53 +0100, Pete Houston
<> wrote:

>On Sat, May 11, 2013 at 01:34:47PM +0200, Bo Berglund wrote:
>> Since the data being transferred to FireFox looks exactly like what is
>> being used when I open the file directly in FireFox, why does FireFox
>> not display it in the same way?
>When you open the file directly from the filesystem, there is no HTTP
>header. When accessing the file over HTTP there is a header and it will
>specify the MIME type, which is set by Apache. This is what mod_mime
I made a PHP wrapper around the logfile where I include the logfile
and then also echo the endingtags of thefile.
This worked fine on my local Apache.

Bo Berglund
Developer in Sweden

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message