Index: /trunk/xcache.c
===================================================================
--- /trunk/xcache.c	(revision 316)
+++ /trunk/xcache.c	(revision 317)
@@ -705,5 +705,5 @@
 		if (VCWD_STAT(filepath, pbuf) == 0) {
 			free_alloca(paths);
-			return FAILURE;
+			return SUCCESS;
 		}
 	}
@@ -711,5 +711,5 @@
 	free_alloca(paths);
 
-	return SUCCESS;
+	return FAILURE;
 }
 /* }}} */
@@ -747,4 +747,8 @@
 
 	if (!filename || !SG(request_info).path_translated) {
+		return FAILURE;
+	}
+
+	if (strstr(filename, "://") != NULL) {
 		return FAILURE;
 	}
@@ -1147,4 +1151,5 @@
 	assert(xc_initized);
 
+	TRACE("type = %d\n", h->type);
 	if (!XG(cacher)) {
 		op_array = origin_compile_file(h, type TSRMLS_CC);
@@ -1161,4 +1166,5 @@
 	xce.data.php = &php;
 	if (xc_entry_init_key_php(&xce, filename, opened_path_buffer TSRMLS_CC) != SUCCESS) {
+		TRACE("failed to init key for %s", filename);
 		return origin_compile_file(h, type TSRMLS_CC);
 	}
