[GH-ISSUE #793] FastDl not working #633

Closed
opened 2026-02-27 02:02:46 +03:00 by kerem · 12 comments
Owner

Originally created by @KnottyCord on GitHub (Apr 25, 2016).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/793

Ok so i added a virtualhost to my server. Here is the code that i found on your GiHub page witch i edit.

<VirtualHost *:80>
        ServerAdmin adminemail@mail.com
        ServerName subdomain.domain.com
        ServerAlias subdomain.domain.com
        DocumentRoot /home/gmodserver/www
        <Directory />
                Options FollowSymLinks
                AllowOverride All
        </Directory>
        <Directory /home/gmodserver/www>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order allow,deny
                allow from all
        </Directory>
        ErrorLog ${APACHE_LOG_DIR}/error.log
        # Possible values include: debug, info, notice, warn, error, crit, alert, emerg.
        LogLevel warn
        CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

And I added this to my server file.

sv_downloadurl "http://IP/fastdl"
sv_allowdownload 0 // This disables ServerDL

When i try to test it via the internet it say that the page was not found.

Originally created by @KnottyCord on GitHub (Apr 25, 2016). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/793 Ok so i added a virtualhost to my server. Here is the code that i found on your GiHub page witch i edit. ``` <VirtualHost *:80> ServerAdmin adminemail@mail.com ServerName subdomain.domain.com ServerAlias subdomain.domain.com DocumentRoot /home/gmodserver/www <Directory /> Options FollowSymLinks AllowOverride All </Directory> <Directory /home/gmodserver/www> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> ErrorLog ${APACHE_LOG_DIR}/error.log # Possible values include: debug, info, notice, warn, error, crit, alert, emerg. LogLevel warn CustomLog ${APACHE_LOG_DIR}/access.log combined </VirtualHost> ``` And I added this to my server file. sv_downloadurl "http://IP/fastdl" sv_allowdownload 0 // This disables ServerDL When i try to test it via the internet it say that the page was not found.
kerem 2026-02-27 02:02:46 +03:00
Author
Owner

@dgibbs64 commented on GitHub (Apr 25, 2016):

https://developer.valvesoftware.com/wiki/Sv_downloadurl

Try from here. I belive sv_allowdownload should be set to 1. Let me know how you get on

<!-- gh-comment-id:214148693 --> @dgibbs64 commented on GitHub (Apr 25, 2016): https://developer.valvesoftware.com/wiki/Sv_downloadurl Try from here. I belive sv_allowdownload should be set to 1. Let me know how you get on
Author
Owner

@UltimateByte commented on GitHub (Apr 25, 2016):


        ServerName subdomain.domain.com
        ServerAlias subdomain.domain.com

Did you actually change that accordingly ?
As long as you can't access the webpage with all the files in it, it won't work in gmod, no mriacle.

Gmod is a bit more permissive about sv_allowdownload/upload, unless they changed it. If you set sv_downloadurl, it ignores sv_allowdownload.
https://facepunch.com/showthread.php?t=1341797

Maybe i should add those pieces of information to the wiki :)

<!-- gh-comment-id:214227294 --> @UltimateByte commented on GitHub (Apr 25, 2016): ``` ServerName subdomain.domain.com ServerAlias subdomain.domain.com ``` Did you actually change that accordingly ? As long as you can't access the webpage with all the files in it, it won't work in gmod, no mriacle. Gmod is a bit more permissive about sv_allowdownload/upload, unless they changed it. If you set sv_downloadurl, it ignores sv_allowdownload. https://facepunch.com/showthread.php?t=1341797 Maybe i should add those pieces of information to the wiki :)
Author
Owner

@KnottyCord commented on GitHub (Apr 25, 2016):

So this shoul be like this
ServerName IP ADDRESSE
ServerAlias IP ADDRESSE

<!-- gh-comment-id:214357369 --> @KnottyCord commented on GitHub (Apr 25, 2016): So this shoul be like this ServerName IP ADDRESSE ServerAlias IP ADDRESSE
Author
Owner

@UltimateByte commented on GitHub (Apr 25, 2016):

Most of server owners have a domain name... Starting at like 3$ a year.

Actually, the only problem i notice right now, is that Apache changed their virtual hosts syntax. Now we should replace this :

                AllowOverride All
                Order allow,deny
                allow from all

With this :

                AllowOverride All
                Require all granted

I'll update that.

<!-- gh-comment-id:214400851 --> @UltimateByte commented on GitHub (Apr 25, 2016): Most of server owners have a domain name... Starting at like 3$ a year. Actually, the only problem i notice right now, is that Apache changed their virtual hosts syntax. Now we should replace this : ``` AllowOverride All Order allow,deny allow from all ``` With this : ``` AllowOverride All Require all granted ``` I'll update that.
Author
Owner

@UltimateByte commented on GitHub (Apr 25, 2016):

Here, i also simplified the virtualhost, some stuff was unnecessary (yep, i improved my apache knowledge since).
https://github.com/dgibbs64/linuxgsm/wiki/FastDL#2-share-this-content-with-an-http-server

<!-- gh-comment-id:214414909 --> @UltimateByte commented on GitHub (Apr 25, 2016): Here, i also simplified the virtualhost, some stuff was unnecessary (yep, i improved my apache knowledge since). https://github.com/dgibbs64/linuxgsm/wiki/FastDL#2-share-this-content-with-an-http-server
Author
Owner

@KnottyCord commented on GitHub (Apr 25, 2016):

Do you thing i can use my ip and not a domain

<!-- gh-comment-id:214418252 --> @KnottyCord commented on GitHub (Apr 25, 2016): Do you thing i can use my ip and not a domain
Author
Owner

@bjoernr-de commented on GitHub (Apr 25, 2016):

AllowOverride All
Require all granted

@UltimateByte You should note that this only works for Apache 2.4+
Version 2.2 needs the old syntax:

2.2 configuration:

Order allow,deny
Allow from all
2.4 configuration:

Require all granted

(copied from https://httpd.apache.org/docs/current/upgrading.html)

<!-- gh-comment-id:214419031 --> @bjoernr-de commented on GitHub (Apr 25, 2016): ``` AllowOverride All Require all granted ``` @UltimateByte You should note that this only works for Apache 2.4+ Version 2.2 needs the old syntax: ``` 2.2 configuration: Order allow,deny Allow from all ``` ``` 2.4 configuration: Require all granted ``` (copied from https://httpd.apache.org/docs/current/upgrading.html)
Author
Owner

@KnottyCord commented on GitHub (Apr 25, 2016):

im on linux ubuntu 14.04

<!-- gh-comment-id:214419845 --> @KnottyCord commented on GitHub (Apr 25, 2016): im on linux ubuntu 14.04
Author
Owner

@UltimateByte commented on GitHub (Apr 25, 2016):

@bjoern-de Yep you're right, i'll specify that it works only for Apache 2.4+. ;)

<!-- gh-comment-id:214443965 --> @UltimateByte commented on GitHub (Apr 25, 2016): @bjoern-de Yep you're right, i'll specify that it works only for Apache 2.4+. ;)
Author
Owner

@KnottyCord commented on GitHub (Apr 25, 2016):

ok after all nothing work please help me!!! I want this project to be done its bean a month now

<!-- gh-comment-id:214445819 --> @KnottyCord commented on GitHub (Apr 25, 2016): ok after all nothing work please help me!!! I want this project to be done its bean a month now
Author
Owner

@UltimateByte commented on GitHub (Apr 25, 2016):

Again, 2 options

  1. Learn domain names, buy a cheap one, and follow the wiki and get it solved in a few minutes (or hours if you don't even know what a DNS is) of understanding how a DNS zone works (included with most domain name providers)
    Or
  2. Learn virtual hosts so that you can make a share using an IP instead of a domain (Protip : use google, i won't google it for you).

Edit : Wiki updated https://github.com/dgibbs64/linuxgsm/wiki/FastDL#2-share-this-content-with-an-http-server

<!-- gh-comment-id:214449080 --> @UltimateByte commented on GitHub (Apr 25, 2016): Again, 2 options 1) Learn domain names, buy a cheap one, and follow the wiki and get it solved in a few minutes (or hours if you don't even know what a DNS is) of understanding how a DNS zone works (included with most domain name providers) Or 2) Learn virtual hosts so that you can make a share using an IP instead of a domain (Protip : use google, i won't google it for you). Edit : Wiki updated https://github.com/dgibbs64/linuxgsm/wiki/FastDL#2-share-this-content-with-an-http-server
Author
Owner

@lock[bot] commented on GitHub (Jul 19, 2018):

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:406271303 --> @lock[bot] commented on GitHub (Jul 19, 2018): This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#633
No description provided.