[mod_rewrite] Fix broken %{request.scheme}

personal/stbuehler/wip
Thomas Porzelt 14 years ago
parent adf9e2b056
commit c83817721c

@ -283,6 +283,7 @@ static gboolean rewrite_internal(liVRequest *vr, GString *dest_path, GString *de
switch (rp->data.cond_lval) {
case LI_COMP_REQUEST_LOCALIP: str = vr->con->srv_sock->local_addr_str; break;
case LI_COMP_REQUEST_REMOTEIP: str = vr->con->remote_addr_str; break;
case LI_COMP_REQUEST_SCHEME: str = NULL; break;
case LI_COMP_REQUEST_PATH: str = vr->request.uri.path; break;
case LI_COMP_REQUEST_HOST: str = vr->request.uri.host; break;
case LI_COMP_REQUEST_QUERY_STRING: str = vr->request.uri.query; break;

Loading…
Cancel
Save