urlrewrite outbound rule

P

Peter Horlock

Hi,

I improved my site so that all dynamic urls seem to be static.
e.g. from ?param=value to /value.html

Now I have a form on a page. When the user presses the parameters will
be send by get and the server will generate a page based on the
request parameters. Is it possible to rewrite this outbound url, as
generated by the html form field, to the same "static looking" url I
created before hand?

I am using tuckey's urlrewrite, http://tuckey.org/urlrewrite/manual/2.6/,
which is based on apache's mod rewrite.
Anyway, it seems to provide outbound rules, which I guess is what I
need, however I can't get it to work... :-(

Here'y my rule, as defined in "urlrewrite.xml":
<outbound-rule>
<from casesensitive="false">/mypage.html\?
myparam=(.*)&amp;myparam2=(.*)</from>
<to>/myFolder/$1/$2.html</to>
</outbound-rule>

However, I can't get this to work... :-(((

Maybe you got an idea?

Thanks in advance,

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,001
Messages
2,570,254
Members
46,851
Latest member
CliftonCor

Latest Threads

Top