title: CherryPy: Perform specific action if user goes to specific URL
body: <p>I'm new to CherryPy so please bear with me. What I'd like to do is perform a specific action when a user goes to a specific URL. The URL will mostly always be the same except for one part. The URL will be something like: <a href="http://myserver.mydomain.com/show_item.cgi?id=12345" rel="nofollow">http://myserver.mydomain.com/show_item.cgi?id=12345</a>. The URL will always be the same except for the 12345. I want to take the "string of numbers", plop them into a variable, and re-direct to another URL that will be built on the fly based on that variable. I have the logic for building out the URL -- I just don't know how to "intercept" the incoming URL and extract the "string of numbers". Any help would be greatly appreciated. </p>