From 8bcc3268a0cc33db425eabc6eef142fe73a82b5b Mon Sep 17 00:00:00 2001 From: xchaos Date: Wed, 4 Jan 2012 12:00:09 +0000 Subject: [PATCH] log URL should be absolute now git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@160 251d49ef-1d17-4917-a970-b30cf55b089b --- conf/prometheus.conf | 2 +- prometheus.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/prometheus.conf b/conf/prometheus.conf index 48ab023..3471a83 100644 --- a/conf/prometheus.conf +++ b/conf/prometheus.conf @@ -140,7 +140,7 @@ log-traffic-html-directory /var/www/logs/html/ #========================================================================== #URLs of external resources #-------------------------------------------------------------------------- -log-traffic-url-path logs/ +log-traffic-url-path /logs/ jquery-url http://code.jquery.com/jquery-latest.js lms-url /lms/?m=customerinfo&id= use-jquery-popups 1 diff --git a/prometheus.c b/prometheus.c index 7e42169..6d8e049 100644 --- a/prometheus.c +++ b/prometheus.c @@ -59,7 +59,7 @@ char *html = "/var/www/traffic.html"; /* hall of fame filename */ char *preview = "/var/www/preview.html"; /* hall of fame preview */ char *cmdlog = "/var/log/prometheuslog"; /* command log filename */ char *log_dir = "/var/www/logs/"; /* log directory pathname, ended with slash */ -char *log_url = "logs/"; /* log directory relative URI prefix (partial URL) */ +char *log_url = "/logs/"; /* log directory relative URI prefix (partial URL) */ char *html_log_dir = "/var/www/logs/html/"; char *jquery_url = "http://code.jquery.com/jquery-latest.js"; -- 2.30.2