Browse Source

[mod_rewrite] Fix broken %{request.scheme}

personal/stbuehler/wip
Thomas Porzelt 13 years ago
parent
commit
c83817721c
  1. 1
      src/modules/mod_rewrite.c

1
src/modules/mod_rewrite.c

@ -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