I don't think the custom error has anything to do with it not working. For some reason it worked on my localhost, but I just read that urlMappings are only for .Net extensions, so if that is the case then that would be the issue.
However, I think this article has exactly what you should need.
URL Rewrites:
http://www.codeproject.com/KB/aspnet/urlrewriter.aspx
If answer returned you're solution, then please return the favor by selecting the answer.
My blog is coming soon...
Web Programming TutorialsASP.Net Tutorials