[Chugalug] LAMP problem

Mike Harrison cluon at geeklabs.com
Fri Mar 1 01:20:33 UTC 2013


On Thu, 28 Feb 2013, Garrett Gaston wrote:
> I couldn't find an entry for DocumentRoot in apache2.conf, only #ServerRoot "/etc/apache2".

http://httpd.apache.org/docs/2.2/mod/core.html#defaulttype

is ONE of many ways to do this.


Per:
http://php.net/manual/en/function.header.php
In your PHP code you could, at the FIRST line before anything else add:

header('Content-type: text/html');

Is ANOTHER way of doing the same thing.







More information about the Chugalug mailing list