Changes

From Amahi Wiki
Jump to: navigation, search
58 bytes added ,  00:36, 10 August 2016
== Add Log Files ==Additional logs can be added to the [https://www.amahi.org/apps/server-logs-viewer Server Logs Viewer] application. In order to do so, they must be readable by Apache (minimum file permissions of <code>-rw-r--r--</code>) and the following command executed as root user (or <code>sudo</code>):
ln -s /path/and/log/filename /var/hda/web-apps/slv/html/log/filename
ln -s /var/log/boot.log /var/hda/web-apps/slv/html/log/boot.log
== Change Log File Path ==
To change the path (line 14) to the log files in the script, which will expose all Apache readable logs in ''/var/log''. To make this change, as root user (or <code>sudo</code>):
vi /var/hda/web-apps/slv/html/server-logs-viewer.php
12,424

edits