OpenWarfare
It is currently Sun May 19, 2013 9:50 am




Post new topic Reply to topic  [ 1 post ] 
 Setting up a local redirect HTTP server for LAN 
Author Message
OpenWarfare Team
User avatar

Joined: Thu May 08, 2008 4:15 pm
Posts: 6410
Location: Mt. Olive, NJ
Country: United States (us)
xfire: t3chn0r
 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:
Image

3. Now, right click on the left middle window and select the option "Add folder from disk...":
Image

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":
Image

5. Right click on the new added folder, select the option rename and rename it as "cod4mw":
Image

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"

_________________
Image
"Anyone who has never made a mistake has never tried anything new." -- Albert Einstein
"Any fool can write code that a computer can understand... But only good programmers write code that humans can understand." -- Martin Fowler


Sun Jun 28, 2009 2:35 am
Profile YIM WWW
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.