LinuxGSM: fastdl module error
I have been trying to use the fastdl module however I get problems with it . the problem is the fastdl folder it is hard coded to {$rootdir}/www assuming the folder needs to be resolvable quite a few web servers place there public facing code in a folder under the users root directory called public_html example : /home/jimr/public_html/fastdl could resolve to http://mydomain.com/fastdl.
if the fastdl folder needs to be resolvable over the web you may want to check the apache or nginx setup files for the user for where the resolvable folder is (document root) these on apache2 are located in /etc/apache2/sites-enabled and are normally named something like mydomain.com.conf. so calling awk '$1~/^DocumentRoot/{print $2}' /etc/apache2/sites-enabled/mydomain.com.conf will return something like
/home/gamer/public_html.
doing it this way relies on knowing the domain name but does give the resolvable folder the same is true if you set up a sub domain you may get a response like
/home/gamer/domains/player.mydomain.com/public_html.
dependant on where the doc root for the sub domain is. If fastdl folder does not have to be resolvable ignore this
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 16 (9 by maintainers)
Commits related to this issue
- Renaming www to public_html Solves #872 Partially — committed to GameServerManagers/LinuxGSM by UltimateByte 8 years ago
Is there a reason why a simple simlink public_html -> www doesn’t solve the problem?