diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c
index d772542..4dcf93c 100644
--- a/modules/proxy/proxy_util.c
+++ b/modules/proxy/proxy_util.c
@@ -1517,7 +1517,16 @@ PROXY_DECLARE(proxy_worker *) ap_proxy_get_worker(apr_pool_t *p,
     const char *c;
     char *url_copy;
     int i;
+    char *ptr;
 
+    /*
+     * We could be passed a URL during the config stage that contains
+     * the UDS path... ignore it
+     */
+    if (!strncasecmp(url, "unix:", 5) &&
+        ((ptr = ap_strchr((char *)url, '|')) != NULL)) {
+        url = ptr+1;
+    }
     c = ap_strchr_c(url, ':');
     if (c == NULL || c[1] != '/' || c[2] != '/' || c[3] == '\0') {
         return NULL;
