diff options
| author | 2001-06-20 18:06:11 +0000 | |
|---|---|---|
| committer | 2001-06-20 18:06:11 +0000 | |
| commit | dd39ab30a7e2c7e9ca316c190feca87dc383f81e (patch) | |
| tree | 546e22cd0773367ac6e8ce3a3d8136380794629a /usr.sbin/httpd/src/main/http_request.c | |
| parent | Typo. (diff) | |
| download | wireguard-openbsd-dd39ab30a7e2c7e9ca316c190feca87dc383f81e.tar.xz wireguard-openbsd-dd39ab30a7e2c7e9ca316c190feca87dc383f81e.zip | |
merge mod_ssl 2.8.4
--
Ok'd by: beck@
Diffstat (limited to 'usr.sbin/httpd/src/main/http_request.c')
| -rw-r--r-- | usr.sbin/httpd/src/main/http_request.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/httpd/src/main/http_request.c b/usr.sbin/httpd/src/main/http_request.c index 09b6ebf0c05..37834846f46 100644 --- a/usr.sbin/httpd/src/main/http_request.c +++ b/usr.sbin/httpd/src/main/http_request.c @@ -1370,6 +1370,10 @@ static request_rec *internal_internal_redirect(const char *new_uri, request_rec new->method = r->method; new->method_number = r->method_number; +#ifdef EAPI + /* initialize context _BEFORE_ ap_parse_uri() call */ + new->ctx = r->ctx; +#endif /* EAPI */ ap_parse_uri(new, new_uri); new->request_config = ap_create_request_config(r->pool); new->per_dir_config = r->server->lookup_defaults; @@ -1404,9 +1408,6 @@ static request_rec *internal_internal_redirect(const char *new_uri, request_rec new->no_local_copy = r->no_local_copy; new->read_length = r->read_length; /* We can only read it once */ new->vlist_validator = r->vlist_validator; -#ifdef EAPI - new->ctx = r->ctx; -#endif /* EAPI */ ap_table_setn(new->subprocess_env, "REDIRECT_STATUS", ap_psprintf(r->pool, "%d", r->status)); |
