Setting up a local redirect HTTP server for LAN
I will show you how to setup a local HTTP redirect server in your PC to allow other players to download the mod files and/or custom maps directly from your PC at super high speeds. We will be setting up the HTTP server to provide files for both games, Call of Duty 4: Modern Warfare and Call of Duty: World At War.
I will assume:
The IP of your PC is 192.168.1.24.
- You have installed the mod already on your PC
- The root directory for the games are the following:
Call of Duty 4: Modern Warfare -> C:\Program Files\Activision\Call of Duty 4 - Modern Warfare\
Call of Duty: World At War -> C:\Program Files\Activision\Call of Duty - World at War\
1. The first thing we need to do is isntall the HTTP server we'll be using. For this I'm going to use HFS, HFS is very simple but powerful HTTP File Server and it's free to use. It can be downloaded directly from the developer's website at http://www.rejetto.com/
2. Once you are done installing this new application start it up and you should a screen like this:
3. Now, right click on the left middle window and select the option "Add folder from disk...
4. Select the folder "C:\Program Files\Activision\Call of Duty 4 - Modern Warfare\
" and when a window popups asking you about what type of folder this is, select the option "Real Folder
5. Right click on the new added folder, select the option rename and rename it as "cod4mw
6. Repeat steps 3 through 5 but selecting the folder for WaW and renaming it as "codwaw
We are done, the local HTTP redirect server is now ready to send the files to other players. We just need to setup correctly the redirect variables inside the server.cfg file in each game and we should be good to go.Call of Duty 4: Modern Warfare:
set sv_wwwbaseURL "http://192.168.1.24/cod4mw" Call of Duty: World At War:
set sv_wwwbaseURL "http://192.168.1.24/codwaw"