Is there multiple error logs within a apache? meaning is there a php log, an apache log etc?
As through research I've seen error log paths extend into the document root with the file type of file
or through many folder such as /var/tmp/my-errors.log
- What is the difference between these error logs?
- What does
var
andtmp
mean? and was this created by the user or is it inside apache? - Is a file with a file type of
file
unserviceable by apache? as my server creates a error log for php within my document root with the file type offile
, is this a standard thing?
I want to create a error log file but how do I create one and where to I put it to make it unreadable, unserviceable to a user?
do I create it in document root with the file extension of .log
, or outside the document root as everything there is in fact unserviceable by apache?
I would like my log file to be within the document root, and to be unserviceable by apache, do I do this by creating a file with a file type of file
and if so how do I do this?