From: André Malo Date: Mon, 18 Aug 2003 21:57:45 +0000 (+0000) Subject: doh. the permission thing is independent from rewrite log X-Git-Tag: pre_ajp_proxy~1266 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=01cda7f81b4a546578b8eb985d2904a5ba788473;p=apache doh. the permission thing is independent from rewrite log git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101010 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/mappers/mod_rewrite.c b/modules/mappers/mod_rewrite.c index f063b79c12..bc55cea113 100644 --- a/modules/mappers/mod_rewrite.c +++ b/modules/mappers/mod_rewrite.c @@ -134,6 +134,10 @@ #include "mod_rewrite.h" +#if !defined(OS2) && !defined(WIN32) && !defined(BEOS) && !defined(NETWARE) +#include "unixd.h" +#define MOD_REWRITE_SET_MUTEX_PERMS /* XXX Apache should define something */ +#endif /* * in order to improve performance on running production systems, you @@ -144,15 +148,11 @@ * responsible for answering all the mod_rewrite questions out there. */ #ifndef REWRITELOG_DISABLED + #define rewritelog(x) do_rewritelog x #define REWRITELOG_MODE ( APR_UREAD | APR_UWRITE | APR_GREAD | APR_WREAD ) #define REWRITELOG_FLAGS ( APR_WRITE | APR_APPEND | APR_CREATE ) -#if !defined(OS2) && !defined(WIN32) && !defined(BEOS) && !defined(NETWARE) -#include "unixd.h" -#define MOD_REWRITE_SET_MUTEX_PERMS /* XXX Apache should define something */ -#endif - #else /* !REWRITELOG_DISABLED */ #define rewritelog(x)