First, before you can set this up, you need to have a web site with enough space that you can use to store your server's custom files. Second, you will need to be familiar with how to login to and manage your web site's folders and files through FTP. Follow the steps below to set it up:
1. Your public HTML directory will normally be visible as soon as you login to FTP as public_html, www, or something similar. Check with your web site's technical support if you are not sure. Create a folder in your web site's public HTML folder named “cod4” (or whatever else you prefer to call it) that you will use to store all of your custom game files. If you have a website with us then you would be creating the folder like so: /public_html/cod4
2. Once you have your base redirect folder setup you will want to copy the .ff and .iwd of your server's Mods and usermaps folders into it with the same directory structure. For isntance, if you have a file called mp_subway.iwd in the /usermaps/mp_subway folder on your game server then you will want to upload it to the /wwwroot/cod4/usermaps/mp_subway folder on your redirect server.
3. Now that you have all of your files copied over it is now time to activate the redirect function on your game server. To do this, edit the following lines in your server.cfg file, or add them if they are not there, to look like this:
set sv_allowdownload "1"
seta sv_wwwDownload "1"
seta sv_wwwBaseURL "
http://your.website.com/cod4"
seta sv_wwwDlDisconnected "0"
4. Be sure to replace the your.website.com in the example with your own web site's URL. Now save the file and restart your server to start running with your newly configured redirect server.