From 15502d1cc00a63ab3b8d476a603fa2a9768ddde8 Mon Sep 17 00:00:00 2001 From: Bradley Nicholes Date: Tue, 8 Jan 2002 21:16:08 +0000 Subject: [PATCH] =?utf8?q?Code=20updates=20to=20allow=20Mod=5FRewrite=20an?= =?utf8?q?d=20Mod=5FAuth=5FDBM=20to=20build=20on=20NetWare=20Submitted=20b?= =?utf8?q?y:=20G=EF=BF=BDnter=20Knauf=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92775 13f79535-47bb-0310-9956-ffa450edef68 --- modules/mappers/mod_rewrite.c | 9 +-------- os/netware/pre_nw.h | 6 ++++++ 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/modules/mappers/mod_rewrite.c b/modules/mappers/mod_rewrite.c index ccad11223e..254e814996 100644 --- a/modules/mappers/mod_rewrite.c +++ b/modules/mappers/mod_rewrite.c @@ -114,7 +114,7 @@ #include "http_protocol.h" #include "mod_rewrite.h" -#if !defined(OS2) && !defined(WIN32) && !defined(BEOS) +#if !defined(OS2) && !defined(WIN32) && !defined(BEOS) && !defined(NETWARE) #include "unixd.h" #endif @@ -4154,13 +4154,6 @@ static char *find_char_in_brackets(char *s, int c, int left, int right) ** */ -#ifdef NETWARE -int main(int argc, char *argv[]) -{ - ExitThread(TSR_THREAD, 0); -} -#endif - /* the apr_table_t of commands we provide */ static const command_rec command_table[] = { AP_INIT_FLAG( "RewriteEngine", cmd_rewriteengine, NULL, OR_FILEINFO, diff --git a/os/netware/pre_nw.h b/os/netware/pre_nw.h index 6a3d99c45d..ce5ebe4833 100644 --- a/os/netware/pre_nw.h +++ b/os/netware/pre_nw.h @@ -37,6 +37,12 @@ typedef unsigned long long uint64_t; #define __int64 long long #endif +/* Don't use the DBM rewrite map for mod_rewrite */ +#define NO_DBM_REWRITEMAP + +/* Allow MOD_AUTH_DBM to use APR */ +#define AP_AUTH_DBM_USE_APR + #endif -- 2.50.1