[mod_rewrite] Undo last change

personal/stbuehler/wip
Thomas Porzelt 13 years ago
parent 2799a9ab3e
commit 99b28acc1e
  1. 6
      src/modules/mod_rewrite.c

@ -344,12 +344,6 @@ static liHandlerResult rewrite(liVRequest *vr, gpointer param, gpointer *context
g_string_truncate(vr->request.uri.path, 0);
g_string_append_len(vr->request.uri.path, GSTR_LEN(vr->wrk->tmp_str));
/* change physical path */
if (vr->physical.doc_root->len) {
g_string_truncate(vr->physical.path, vr->physical.doc_root->len);
g_string_append_len(vr->physical.path, GSTR_LEN(vr->wrk->tmp_str));
}
/* change request query */
if (rule->has_querystring) {
g_string_truncate(vr->request.uri.query, 0);

Loading…
Cancel
Save