mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-10 04:50:03 -04:00
35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
Plaintext
$NetBSD: patch-al,v 1.3 2005/04/25 09:13:14 adam Exp $
|
|
|
|
--- include/httpd.h.orig 2005-02-26 09:04:10.000000000 +0000
|
|
+++ include/httpd.h
|
|
@@ -105,9 +105,9 @@ extern "C" {
|
|
/* The name of the log files */
|
|
#ifndef DEFAULT_ERRORLOG
|
|
#if defined(OS2) || defined(WIN32)
|
|
-#define DEFAULT_ERRORLOG "logs/error.log"
|
|
+#define DEFAULT_ERRORLOG DEFAULT_REL_LOGFILEDIR "/error.log"
|
|
#else
|
|
-#define DEFAULT_ERRORLOG "logs/error_log"
|
|
+#define DEFAULT_ERRORLOG DEFAULT_REL_LOGFILEDIR "/error.log"
|
|
#endif
|
|
#endif /* DEFAULT_ERRORLOG */
|
|
|
|
@@ -123,7 +123,7 @@ extern "C" {
|
|
|
|
/* The name of the server config file */
|
|
#ifndef SERVER_CONFIG_FILE
|
|
-#define SERVER_CONFIG_FILE "conf/httpd.conf"
|
|
+#define SERVER_CONFIG_FILE DEFAULT_REL_SYSCONFDIR "/httpd.conf"
|
|
#endif
|
|
|
|
/* Whether we should enable rfc1413 identity checking */
|
|
@@ -214,7 +214,7 @@ extern "C" {
|
|
|
|
/** The name of the MIME types file */
|
|
#ifndef AP_TYPES_CONFIG_FILE
|
|
-#define AP_TYPES_CONFIG_FILE "conf/mime.types"
|
|
+#define AP_TYPES_CONFIG_FILE DEFAULT_REL_SYSCONFDIR "/mime.types"
|
|
#endif
|
|
|
|
/*
|