]> granicus.if.org Git - apache/blobdiff - modules/mappers/mod_rewrite.c
switch to APR 1.0 API (which is still in flux)
[apache] / modules / mappers / mod_rewrite.c
index 1b0176734ad9a42195adf477462c0393415a2764..e62e22c55944f857e20ac186ed631a6fab892346 100644 (file)
@@ -3376,7 +3376,7 @@ static int apply_rewrite_cond(rewritecond_entry *p, rewrite_ctx *ctx)
 
     case CONDPAT_FILE_LINK:
 #if !defined(OS2)
-        if (   apr_lstat(&sb, input, APR_FINFO_MIN, r->pool) == APR_SUCCESS
+        if (   apr_stat(&sb, input, APR_FINFO_MIN | APR_FINFO_LINK, r->pool) == APR_SUCCESS
             && sb.filetype == APR_LNK) {
             rc = 1;
         }