8335b1
diff --git a/server/protocol.c b/server/protocol.c
8335b1
index e1ef204..d6d9165 100644
8335b1
--- a/server/protocol.c
8335b1
+++ b/server/protocol.c
8335b1
@@ -1049,6 +1049,7 @@ request_rec *ap_read_request(conn_rec *conn)
8335b1
      * now read. may update status.
8335b1
      */
8335b1
     ap_update_vhost_from_headers(r);
8335b1
+    access_status = r->status;
8335b1
 
8335b1
     /* Toggle to the Host:-based vhost's timeout mode to fetch the
8335b1
      * request body and send the response body, if needed.