Welcome to WebmasterWorld Guest from 188.8.131.52
Yes, it's possible, and easy using either mod_rewrite or mod_alias. Both of these methods use what's called a "back-reference" to identify, save, and then refer back to (copy) part of the requested URI when generating the new URI. Check out RedirectMatch [httpd.apache.org] and RewriteRule [httpd.apache.org] for more information, and look for the phrase "back-reference." You will also need to use regular expressions [etext.lib.virginia.edu] to define/match/extract/save the part of the requested URI you need to "copy" into the new URI. Then have a go at writing and testing the code [webmasterworld.com]. If it doesn't work, post your specific questions, and we'll have a look at them.