| 1133 | } |
| 1134 | |
| 1135 | static int proxy_map_location(request_rec *r) |
| 1136 | { |
| 1137 | int access_status; |
| 1138 | |
| 1139 | if (!r->proxyreq || !r->filename || strncmp(r->filename, "proxy:", 6) != 0) |
| 1140 | return DECLINED; |
| 1141 | |
| 1142 | /* Don't let the core or mod_http map_to_storage hooks handle this, |
| 1143 | * We don't need directory/file_walk, and we want to TRACE on our own. |
| 1144 | */ |
| 1145 | if ((access_status = proxy_walk(r))) { |
| 1146 | ap_die(access_status, r); |
| 1147 | return access_status; |
| 1148 | } |
| 1149 | |
| 1150 | return OK; |
| 1151 | } |
| 1152 | |
| 1153 | /* -------------------------------------------------------------- */ |
| 1154 | /* Fixup the filename */ |
nothing calls this directly
no test coverage detected