Topic: 404 redirect
HI there,
this is my first post on this forum so I hope I make a good impression. I I have found it help full alredy.
Ok so I can do this super easy in php, (but I want to do it in Ruby). What I have is a site that has been up and running on an ASP CMS taht formated all the urls as index.asp=page1, index.asp=page2 (you get the idea) they have decided that the way to go is to have a RoR cms installed by me and that is all good, I belive that Eribim CMS will do nicely.
The problem is that the Serch engines and other people have book marked pages and indexed them.
What I need to make is a program that will act as a 404 error page that will look up the request, check the data base for the old page name, and if it is found redirect them to the new page and signall and http200. If it is not found they would get a 404 page.
any sugestions as to where I should start. it seems to me that thisa may even be able to use in the fron end as a ruby script but i cant find any site that have a human description of ruby functions.
JOsh
A BBCode WYSIWYG would be a great addition to this site.