Hey folks,
I've moved some content from one subdomain to another which also changed the parameters a little bit.
So to avoid hitting the php-code I'd like to redirect in lsws directly but I'm having trouble with using the redirect context with expressions.
Essentially I have urls with
domain1.com/list.php?f=111
which changed to
domain2.com/list.php?111
I tried different expressions and none was successfull unfortunately. It seems to me as if I'm missing the obvious .
The current expression I'm trying is:
with an external redirect and the target uri:
whats wrong with that? I'm always still getting to the old php code on the page instead of getting redirected in lsws directly.
Oh, I'm on 2.2.6 with that machine btw.
thanks in advance,
thomas
I've moved some content from one subdomain to another which also changed the parameters a little bit.
So to avoid hitting the php-code I'd like to redirect in lsws directly but I'm having trouble with using the redirect context with expressions.
Essentially I have urls with
domain1.com/list.php?f=111
which changed to
domain2.com/list.php?111
I tried different expressions and none was successfull unfortunately. It seems to me as if I'm missing the obvious .
The current expression I'm trying is:
Code:
exp: ^/list.php?f=(.*)
Code:
http://domain2.com/list.php?$1
Oh, I'm on 2.2.6 with that machine btw.
thanks in advance,
thomas