Raised This Month: $51 Target: $400
 12% 

sv_downloadurl not working!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mns27
Junior Member
Join Date: Mar 2014
Old 07-22-2016 , 01:30   sv_downloadurl not working!
Reply With Quote #1

Hi. I have my hlds running. But my sv_downloadurl is not working properly. I have this command in my server.cfg:

sv_downloadurl "http://www.marcopacheco.ga/cstrike/"


When i wanna download a custom resource with sv_downloadurl, the download is like going to fast and it is like the download fails but i enter in the server. But i get an error in the custom sound or custom map.

I don't know is the domain .ga is accepted? I'm running the server in the same PC that connects to the server. It could be that? I hope your help.
mns27 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-22-2016 , 01:44   Re: sv_downloadurl not working!
Reply With Quote #2

Any valid non-encrypted, non-password protected URL will work for fast download.

What is the error?
__________________
fysiks is online now
mns27
Junior Member
Join Date: Mar 2014
Old 07-22-2016 , 02:26   Re: sv_downloadurl not working!
Reply With Quote #3

Quote:
Originally Posted by fysiks View Post
Any valid non-encrypted, non-password protected URL will work for fast download.

What is the error?
Thanks for replying. I'm not receiving an error. Simply the file from the sv_downloadurl gets downloaded but incomplete.

How do i know is the url is encrypted? I'm using as hosting byethost.

Last edited by mns27; 07-22-2016 at 02:27.
mns27 is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 07-22-2016 , 11:38   Re: sv_downloadurl not working!
Reply With Quote #4

If you open a private browse window, and try to access:
Code:
http://www.marcopacheco.ga/cstrike/
You get redirected to:
Code:
http://www.marcopacheco.ga/cstrike/?ckattempt=1
Remove that '?ckattempt=1', and it should work fine. At least, on my host is does (there is no 'ckattempt')
You can search on google how to do that. On this link below, looks like they solved it.
Why does this appear in url /?ckattempt=1
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective
addons_zz is offline
mns27
Junior Member
Join Date: Mar 2014
Old 07-22-2016 , 15:19   Re: sv_downloadurl not working!
Reply With Quote #5

Quote:
Originally Posted by addons_zz View Post
If you open a private browse window, and try to access:
Code:
http://www.marcopacheco.ga/cstrike/
You get redirected to:
Code:
http://www.marcopacheco.ga/cstrike/?ckattempt=1
Remove that '?ckattempt=1', and it should work fine. At least, on my host is does (there is no 'ckattempt')
You can search on google how to do that. On this link below, looks like they solved it.
Why does this appear in url /?ckattempt=1
Thanks, i guess it was the host, i apply the code to my theme and it worked (it removed the ?ckattempt=1=) but only to the main page. But when i try to access to the folder
Code:
http://www.marcopacheco.ga/cstrike/
The ?ckattempt=1= appears like you said:
Code:
http://www.marcopacheco.ga/cstrike/?ckattempt=1
mns27 is offline
Blizzard_87
Veteran Member
Join Date: Oct 2012
Old 07-31-2016 , 07:05   Re: sv_downloadurl not working!
Reply With Quote #6

try removing it with .htaccess from the root directory of your site should then work with subfolders?

Code:
RewriteCond %{QUERY_STRING}    "ckattempt=1" [NC]
RewriteRule (.*)  /$1? [R=301,L]
__________________

Last edited by Blizzard_87; 07-31-2016 at 07:05.
Blizzard_87 is offline
mns27
Junior Member
Join Date: Mar 2014
Old 08-26-2016 , 02:11   Re: sv_downloadurl not working!
Reply With Quote #7

Quote:
Originally Posted by Blizzard_87 View Post
try removing it with .htaccess from the root directory of your site should then work with subfolders?

Code:
RewriteCond %{QUERY_STRING}    "ckattempt=1" [NC]
RewriteRule (.*)  /$1? [R=301,L]
Sorry for late reply. I apply your code and it worked perfectly, thanks for the help.
mns27 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:39.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode