|
Firstly, HTTP redirect does not work with CODWAW yet (it will in 1.2 patch).
If you have HTTP services activated you would have been given an address to use. Use this address in the follwing examples....
In your server's config file (usally server.cfg) you must change/add the following ...
set sv_allowdownload "1" seta sv_wwwDownload "1" seta sv_wwwBaseURL "http://address.to.my.server.com:4455" seta sv_wwwDlDisconnected "0"
You must mirror your servers maps and mods folder exactly for this to work.
http://address.to.my.server.com:4455/Mods http://address.to.my.server.com:4455/Usermaps
or of you use a cod4 subfolder
http://address.to.my.server.com:4455/cod4/mods http://address.to.my.server.com:4455/cod4/usermaps
In the above sub folder example you would use ...
set sv_allowdownload "1" seta sv_wwwDownload "1" seta sv_wwwBaseURL "http://address.to.my.server.com:4455/cod4" seta sv_wwwDlDisconnected "0"
Now when the client connects or load a new map the server will tell the client where to get the files and the client will download those files a lot faster. This is because the game server software restricts the speed which clients can download the files when not using a HTTP redirect.
|