the indexAction of someController takes one parameter passed from the URL
and uses it to fetch a row in a database.
The value of the "name" column of this row should be used for url rewriting.
What i want is basically to convert "mysite.com/some/index/1" to
"mysite.com/namevalue".
How should i do this? Do i need to write my own router? I couldn't figure it
out by reading the zend router documentation page.
Any help would be greatly appreciated.
Thanks!
--
View this message in context: http://www.nabble.com/Url-rewriting-tp23413522p23413522.html
Sent from the Zend Core mailing list archive at Nabble.com.
没有评论:
发表评论