summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cgi.c2
-rw-r--r--man.cgi.72
2 files changed, 3 insertions, 1 deletions
diff --git a/cgi.c b/cgi.c
index 8e84c7df..4709159f 100644
--- a/cgi.c
+++ b/cgi.c
@@ -946,7 +946,7 @@ main(void)
progname = "";
if (NULL == (css = getenv("CSS_DIR")))
- css = "/";
+ css = "";
if (NULL == (host = getenv("HTTP_HOST")))
host = "localhost";
diff --git a/man.cgi.7 b/man.cgi.7
index 0989f0b5..a9a29dae 100644
--- a/man.cgi.7
+++ b/man.cgi.7
@@ -74,8 +74,10 @@ default.
The absolute path of the
.Xr catman 8
cache directory.
+This must not have a trailing slash.
.It Ev CSS_DIR
Prepended to CSS file links.
+This must not have a trailing slash.
.El
.Sh FILES
.Bl -tag -width Ds