sv_downloadurl for cs:cz
Hello
I've bought a domain and hope to use it with sv_downloadurl on my server for improved performance.. So far is what i did: Made a folder in "public_html" on the webserver then made a folder with all the custom maps, sounds etc. so the webserver looked like this: public_html/czero/* *maps/aim_ak_colt *models/backweapons.mdl *sound/misc As you can see i only added the custom files, as i think other files are already in the connecting players folder. In the server.cfg file for the server i added these cvars sv_downloadurl “http://www.XXXX.XX/czero/” sv_allowdownload 1 sv_allowupload 1 But it seems to me that the files are still fetched from the actual game server and not the downloadurl... Does someone see any errors in my doing? |
Re: sv_downloadurl for cs:cz
If you go to http://www.XXX.XX/czero/ in a web browser, do you see all the folders you created? And can you download maps directly from the website?
|
Re: sv_downloadurl for cs:cz
Shows "Forbidden You don't have permission to access /czero/ on this server."
EDIT: I can however, download the files by typing the full directory... maps, sounds etc. downloads in chrome |
Re: sv_downloadurl for cs:cz
If you have forbidden, no access, I would assume your web server isn't set up correctly and that's why the downloads are failing. I don't think it matters that you can download the file directly - the server is going to first try accessing /czero/ and then finding the file that way. If it can't access /czero/ it will give up.
|
Re: sv_downloadurl for cs:cz
you can set czero folder permission to 755 on ftp, or ask your provider to add to you
|
Re: sv_downloadurl for cs:cz
Quote:
|
Re: sv_downloadurl for cs:cz
Got it working,
Needed a .htaccess file in /czero/ directory with "Options +Indexes" written into it. My provider had directory listing disabled by default.. hence the "Options +Indexes" |
Re: sv_downloadurl for cs:cz
If you need there is my .htaccess file ( this is for svencoop but work with all hl engine i think)
PHP Code:
|
Re: sv_downloadurl for cs:cz
Quote:
|
Re: sv_downloadurl for cs:cz
Options +Indexes is not required for fast download. I'm not sure why that would make it work. The Forbidden page that you were getting was only for the index.html page (that doesn't exist) but all files should still be accessible when directly reference (which they are in fast download).
|
All times are GMT -4. The time now is 17:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.