
| Subject: | Remote access to logs |
| Posted by: | Paul (..@b.com) |
| Date: | Sun, 19 Dec 2010 |
Hello all,
I have Apache 2.2.17 (Win32) happilly running away and all is fine but I
would like to access the logs and error docs while I am away from home.
What's the best way to do this?
Is it just a case of editing the httpd.conf to point to a location
within the htdocs folder and then accessing the logs over the internet?
i.e.:
ErrorLog "logs/error.log"
CustomLog "logs/access.log" common
to, maybe:
ErrorLog "htdocs/difficult-to-guess-folder-name/error.log"
CustomLog "htdocs/difficult-to-guess-folder-name/access.log" common
.... and then accessing them via my website, or is there a security risk
that I am not aware of, other than people being able to view them too,
should they know the url path to the logs?
If there is a security issue, would password protecting the log folder
with htaccess suffice?
Thanks for any help or thoughts,
Paul.