85dc249d41
In addition to the standard bugfixes, this is a major port rewrite. The port now uses a '_ups' user and the CGIs created can now run under either chrooted Apache or non-chrooted Apache.
13 lines
459 B
Plaintext
13 lines
459 B
Plaintext
$OpenBSD: patch-clients_cgilib_c,v 1.3 2004/02/09 06:48:48 marcm Exp $
|
|
--- clients/cgilib.c.orig 2004-01-03 14:55:07.000000000 -0800
|
|
+++ clients/cgilib.c 2004-01-03 14:55:22.000000000 -0800
|
|
@@ -162,7 +162,7 @@ int checkhost(const char *host, char **d
|
|
if (!host)
|
|
return 0; /* deny null hostnames */
|
|
|
|
- snprintf(fn, sizeof(fn), "%s/hosts.conf", confpath());
|
|
+ snprintf(fn, sizeof(fn), "%s/hosts.conf", cgiconfpath());
|
|
|
|
pconf_init(&ctx, cgilib_err);
|
|
|