View Full Version : http redirection !!!
[NER-FR]Ambiorix.be
20th April 2006, 21:36
You have a problem concerning the http redirection for me I do not reach has to do it to work!!!
It is necessary also to put the mod in the ftp of the supplier of the server? Or well this is a problem with Linux?
Thanks
Ambiorix
Vous avez un probleme concernant le http redirection car moi je ne parviens pas à le faire fonctionner !!!!
Il faut aussi mettre le mod dans le ftp du fournisseur du server?
Ou bien c'est un problème avec Linux?
Merci
Ambiorix
Bjusterbaarlik
20th April 2006, 22:11
Well, I do not fully understand your post here, but I take it you are having problems getting HTTP Redirection to work.
You just have to place the mod that has to be downloaded on your website by FTP. After that, you have to point to it with the cvars in your config file.
Let's say, that in the config file, you specify the internet address "www.ner.com/downloads". Then, you have to put the mods that have to be downloaded to the client's main folder in "www.ner.com/downloads/main", otherwise it will not work.
To be short, here is what you would have to put in your config:
set sv_wwwDownload "1"
set sv_wwwBaseURL "http://www.ner.com/downloads"
set sv_wwwDlDisconnected "1"
And you would then have to upload the mods to:
http://www.ner.com/downloads/main
That's it, you are all set with HTTP Redirection. For us, it works perfectly.
[NER-FR]Ambiorix.be
21st April 2006, 01:01
Sorry, but I do not there reach!!! I created a ftp on ibelgique:
http://nerfr.ibelgique.com/downloads/main/zzz_svr_BJustReal.iwd
In the cvars I put:
/////////////////////////////////////////
// HTTP Redirect Downloads
// ***********************
//seta sv_wwwDownload "1"
//seta sv_wwwBaseURL "http://nerfr.ibelgique.com/downloads/main/zzz_svr_BJustReal.iwd"
//seta sv_wwwDlDisconnected "1"
//
/////////////////////////////////////////
I do not understand!!!!
Sorry, mais je n'y parviens pas!!! J'ai créé un ftp sur ibelgique:
http://nerfr.ibelgique.com/downloads/main/zzz_svr_BJustReal.iwd
Dans le cvars j'ai mis:
/////////////////////////////////////////
// HTTP Redirect Downloads
// ***********************
//seta sv_wwwDownload "1"
//seta sv_wwwBaseURL "http://nerfr.ibelgique.com/downloads/main/zzz_svr_BJustReal.iwd"
//seta sv_wwwDlDisconnected "1"
//
/////////////////////////////////////////
Je ne comprends pas !!!!
Tikkas
21st April 2006, 09:39
try this:
/////////////////////////////////////////
// HTTP Redirect Downloads
// ***********************
seta sv_wwwDownload "1"
seta sv_wwwBaseURL http://nerfr.ibelgique.com/downloads/ (http://nerfr.ibelgique.com/downloads/)
seta sv_wwwDlDisconnected "1"
//
/////////////////////////////////////////
You just have to point to the folder where the downloads folder is, so the above address should work if your file is located in http://nerfr.ibelgique.com/downloads/main/zzz_svr_BJustReal.iwd
There is no need to put the filename and main folder name, just the base URL is enough.
Also remember that // in front of a line will tell COD2 to ignore that line so remove the // also.
cheers
Tikkas
[NER-FR]Ambiorix.be
21st April 2006, 15:01
I do not there reach not yet. I stopped for the moment and I put the mod on the ftp of the server!!!
I am a noob. lol
Ambiorix
Je n'y parviens toujours pas. J'ai arrêté pour le moment et j'ai mis le mod sur le ftp du server!!!
Je suis un noob. lol
Ambiorix
Tikkas
21st April 2006, 19:29
/////////////////////////////////////////
// HTTP Redirect Downloads
// ***********************
seta sv_wwwDownload "1"
seta sv_wwwBaseURL http://nerfr.ibelgique.com/downloads/ (http://nerfr.ibelgique.com/downloads/)
seta sv_wwwDlDisconnected "1"
//
/////////////////////////////////////////
Ok just put it in the downloads folder and then try again, but remember you do not need to point to the file itself!
Bjusterbaarlik
21st April 2006, 21:44
Ok just put it in the downloads folder and then try again, but remember you do not need to point to the file itself!
No Tikkas, if they have set:
seta sv_wwwBaseURL "http://nerfr.ibelgique.com/downloads"
They have to put the mod in:
http://nerfr.ibelgique.com/downloads/main
This whole thing is case sensitive, you cannot put a / at the end of the URL path, or it will give an error! So, to be short, just put this:
seta sv_wwwDownload "1"
seta sv_wwwBaseURL "http://nerfr.ibelgique.com/downloads"
seta sv_wwwDlDisconnected "1"
And put the mod in: "http://nerfr.ibelgique.com/downloads/main"
That's all.
Phosphorus
22nd April 2006, 13:37
yes right .. maybe they have to set the ftp folder acces CHMOD to 777 or something like that
Darkangel
28th April 2006, 19:32
Hey guys
were havin problems with our redirect in which it continuously tries to download the mod over and over again without ever completing!
do u know any fix for this?
Thnx :tongue_laugh:
Tikkas
28th April 2006, 20:50
set sv_wwwDownload "1"
set sv_wwwBaseURL "http://www.ner.com/downloads"
set sv_wwwDlDisconnected "1"
if this would your cfg code then the downlaods have to be in
http://www.ner.com/downloads/main
try that
cheers
Tikkas
Darkangel
28th April 2006, 21:05
have tried that, although we had our main folder in the root directory. is that alwite or should i put it in another folder?
Have tried many diffrent types of configurations :(
Thanks mate
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.