I have set up a server that is a clone of our production server that we want to use as a test server for testing our redirector. Importantly, we don't want to actually redirect to these urls like we do on our production machine. Instead we just want to redirect to a page that displays in text what the url would have been.
Currently, functions exactly like the production server, i.e. it redirects you to the desired url. For reasons I won't go into, we don't want it to do this on the test server, instead we just want it display what the redirect url would have been.
The box is a fedora box, and most of the redirector scripts are written in python. Ideally, I would simply write a python script to complete this task.
Note initially, I was redirecting to a non local url. The whole function of the box was to serve as a redirector and it has no native web interface. I will have to create that web infrastructure myself.