2
0
Fork 0

[mod_rewrite] Undo last change

This commit is contained in:
Thomas Porzelt 2009-09-28 19:06:31 +02:00
parent 2799a9ab3e
commit 99b28acc1e
1 changed files with 0 additions and 6 deletions

View File

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