Hi,
I have been wondering, how does adding another server work? If you have three servers, for example, do they start being used when 1 and 2 fill up, or how does that work?
Ideally, I'd like to be able to show users which servers are under how much load and let them choose which one to download from. Or let something choose automatically.
My other question is: do you have to have the CGI-BIN enabled and can you run an additional server from just an IP and not a domain? (I.E. http://1.2.3.4/cgi-bin/ instead of http://www.myhost.com/cgi-bin/)
Regards,
th3hotcake
XFileSharing Pro - Adding servers
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
-
- Posts: 51
- Joined: Apr 07, 2009 7:24 pm
File Server tests:
api.cgi: OK
temp dir exist: OK
temp dir mkdir: OK
temp dir rmdir: OK
tmp dir exist: ERROR
tmp dir mkdir: ERROR
tmp dir rmdir: ERROR
upload dir exist: OK
upload dir mkdir: OK
upload dir rmdir: OK
htdocs dir exist: ERROR
htdocs dir mkdir: ERROR
htdocs dir symlink: ERROR
htdocs dir symlink del: ERROR
htdocs dir rmdir: ERROR
config read: OK
config write: OK
fs.cgi: OK
upload.cgi: OK
htdocs URL accessibility: OK
What do I need to do? I uploaded the full htdocs directory to: /var/www/htdocs/ just like it said to.
api.cgi: OK
temp dir exist: OK
temp dir mkdir: OK
temp dir rmdir: OK
tmp dir exist: ERROR
tmp dir mkdir: ERROR
tmp dir rmdir: ERROR
upload dir exist: OK
upload dir mkdir: OK
upload dir rmdir: OK
htdocs dir exist: ERROR
htdocs dir mkdir: ERROR
htdocs dir symlink: ERROR
htdocs dir symlink del: ERROR
htdocs dir rmdir: ERROR
config read: OK
config write: OK
fs.cgi: OK
upload.cgi: OK
htdocs URL accessibility: OK
What do I need to do? I uploaded the full htdocs directory to: /var/www/htdocs/ just like it said to.
-
- Posts: 51
- Joined: Apr 07, 2009 7:24 pm
Okay I did some hardcore search and found out that I can change settings through the XFSConfig.pm file.
So the server is up and running, but I have a serious issue.
When premium-users generate links from my new server, they can copy those links and give them to other people or upload them remote to some other website. Download is not limited to just their IP.
With my main server this is not possible. How do I fix this?
Thanks
So the server is up and running, but I have a serious issue.
When premium-users generate links from my new server, they can copy those links and give them to other people or upload them remote to some other website. Download is not limited to just their IP.
With my main server this is not possible. How do I fix this?
Thanks
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
-
- Posts: 51
- Joined: Apr 07, 2009 7:24 pm
Thanks, looks like I got mod_rewrite on and working. Download is now limited to IP.
Exactly which temp folder is supposed to have an .htaccess file? Neither /cgi-bin/temp/ or /htdocs/tmp/ have an .htaccess in them? There is one in /htdocs/ though.
Do I need all of these modules installed on my File Server?
LWP, DBI, DBD::mysql
GD lib, GD perl module
Everything seems to work without it so far.
Exactly which temp folder is supposed to have an .htaccess file? Neither /cgi-bin/temp/ or /htdocs/tmp/ have an .htaccess in them? There is one in /htdocs/ though.
Do I need all of these modules installed on my File Server?
LWP, DBI, DBD::mysql
GD lib, GD perl module
Everything seems to work without it so far.
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm