diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2008-12-22 22:34:59 +0100 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2008-12-22 22:34:59 +0100 |
commit | 7266c515bb73ce08df6b6131b46cb794786616ab (patch) | |
tree | 62d3233340e908d785a10b95d42f1370f5045589 /modules/cache/mod_socache_dbm.c | |
parent | Hack to add basic support for LuaJIT. (diff) | |
download | apache2-7266c515bb73ce08df6b6131b46cb794786616ab.tar.xz apache2-7266c515bb73ce08df6b6131b46cb794786616ab.zip |
ditto hack from mpm_default.h
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728787 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/cache/mod_socache_dbm.c')
-rw-r--r-- | modules/cache/mod_socache_dbm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/cache/mod_socache_dbm.c b/modules/cache/mod_socache_dbm.c index e7ffbbbfe2..2886400840 100644 --- a/modules/cache/mod_socache_dbm.c +++ b/modules/cache/mod_socache_dbm.c @@ -53,7 +53,12 @@ struct ap_socache_instance_t { */ #define SSL_DBM_FILE_MODE ( APR_UREAD | APR_UWRITE | APR_GREAD | APR_WREAD ) +/* Check for definition of DEFAULT_REL_RUNTIMEDIR */ +#ifndef DEFAULT_REL_RUNTIMEDIR +#define DEFAULT_DBM_PREFIX "logs/socache-dbm-" +#else #define DEFAULT_DBM_PREFIX DEFAULT_REL_RUNTIMEDIR "/socache-dbm-" +#endif /* ### this should use apr_dbm_usednames. */ #if !defined(SSL_DBM_FILE_SUFFIX_DIR) && !defined(SSL_DBM_FILE_SUFFIX_PAG) |