Forums de discussion
Tuckey URL rewriting
Hardik Sanghani, modifié il y a 7 années.
Tuckey URL rewriting
Junior Member Publications: 40 Date d'inscription: 16/02/15 Publications récentes
hi
I m Using Tuckey URL rewriting using following filter
<rule>
<from>^/web/test/portfolio/(.*)/(.*)/(.*)$</from>
<to type="redirect">/web/test/project?category=$1&description=$2&name=$3</to>
</rule>
URL : http://localhost:8080/portfolio/{projectCategory}/{projectDescription}/{projectName}.html
I want to passs these parameter as below
URL : /web/test/project?category=$1&description=$2&name=$3
<from>^/web/test/portfolio/(.*)/(.*)/(.*)$</from>
Can anyone guess what I m missing ?
Thank you
Hardik
I m Using Tuckey URL rewriting using following filter
<rule>
<from>^/web/test/portfolio/(.*)/(.*)/(.*)$</from>
<to type="redirect">/web/test/project?category=$1&description=$2&name=$3</to>
</rule>
URL : http://localhost:8080/portfolio/{projectCategory}/{projectDescription}/{projectName}.html
I want to passs these parameter as below
URL : /web/test/project?category=$1&description=$2&name=$3
<from>^/web/test/portfolio/(.*)/(.*)/(.*)$</from>
Can anyone guess what I m missing ?
Thank you
Hardik