
Op 3 sep 2010, om 16:14 heeft Adam Armstrong het volgende geschreven:
On 28/08/2010 16:38, Dirk-Willem van Gulik wrote:
Minor patch to make things work on RedHat, FreeBSD and Darwin
Add to the instructions
./versioncheck.php --cron
to create the needed version.txt file in the 'rrd' directory.
We're not actually using this at the moment, hence it being missing from instructions (and not really working properly). We're currently preferring people to just track SVN.
Right - but if it is not there then these lines
html/includes/header-small.inc.php: $data = trim(shell_exec("cat " . $config['install_dir'] . "/rrd/version.txt")); html/includes/header.inc.php: $data = trim(shell_exec("cat " . $config['install_dir'] . "/rrd/version.txt"));
cause a bomb out on clean installs for the graphs (existing installs are fine - and continue to do graphs).
- Run applied patch. It does 3 things; remove exec bit from images, move order of snmpwalk/get arguments around (after the hostname only OID's are exepcted) and it introduces an optional graph dash-disabler for OS-es which do not have that feature& for things like iPads on which it looks bad.
I plan to disable the graphs for teh mini 'sparkline' style graphs, so i didn't want to change the code at the moment.
Ok - but can you keep the dash-disable in - as this is needed for non linux (cairo and freetype dependencies on grome due to GD).
- (Secure mode only) include .htaccess file in the<Directory> section of your VHost rather than rely on override.
This breaks our plan of having auto-updatability via SVN.
No - you can still have it - you put such in to docroot/../conf/httpd-include.conf or similar -and use a #include from the httpd.conf file.
I have been considering dropping all of the rewrites and just going back to non-pretty urls.
The cost of rewrites as part of a plain httpd.conf (or its include) is not high at all - the issue is the .htaccess directory path scanning which is so costly.
Dw.