[users@httpd] File renders differently when opened through Apache or direct, why?

2013-05-11 Thread Bo Berglund
I have a PHP logging script, which produces a file on the server in a logging directory. In order to make the file easier to read through a browser I have made the PHP script create each log line as a table row in a table. I let the script write the file header when the logfile is created as

Re: [users@httpd] File renders differently when opened through Apache or direct, why?

2013-05-11 Thread David Ecker
See http://httpd.apache.org/docs/current/mod/mod_mime.html You are propably using a wrong mime type which is set by apache based on the file extension. bye David Am 11.05.2013 10:58, schrieb Bo Berglund: I have a PHP logging script, which produces a file on the server in a logging