A script or executable that will facilitate the following:
Intercept an HTTP request for a graphic file (jpeg) residing on an IIS 6.0 web server. Instead of serving back the unique file requested in the HTTP request, the script will instead serve a different graphic based on either a random choice or a round robin algorithm.
E.g a request is made for <[url removed, login to view]>
Instead of serving back the graphic called "[url removed, login to view]" the script will choose either randomly or by round robin a jpg file chosen from a pool of e.g. 10 different jpgs named (for example) [url removed, login to view] thru picture10.jpg. Thus a different jpg will be served each time the HTTP request is made to that URL.
To clarify, as far as the client requesting "[url removed, login to view]" is concerned, each time the request is made, it is getting "[url removed, login to view]" back but the actual jpg returned is different.
This could possibly be done using an off the shelf ISAPI filter e.g. Mod Rewrite (<[url removed, login to view]>) or creating a new ISAPI filter.
The resulting software needs to be flexible enough for me to configure the number of possible jpgs that will be in the pool for each request and I need to be able to select which algorithm will be used to choose the jpg to be served.
It also needs to cope with at least 500 picture URLS of which each URL will select from a distinct pool of up to 20 jpg graphic files.
GUI isn't needed. It might be better to enable configuration by use of an INI file or config file. I am open to ideas on this.
Stability and reliability is important. It should be stable and should not create any memory leaks etc.
I'll need to install it on the server myself but I should be able to achieve this if you provide instructions. I'm familiar with all aspects of IIS administration.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
IIS 6.0 Web server running on Windows Server 2003 SP1 (32 bit)
.Net Framework 2.0 is installed.
I have full admin rights on the server but I can't install MS SQL Server on the it so if a database is used it will have to be MS Access or some other substitute.