J'aurais fait
compte X :
(cakebox)
<?php
$app["cakebox.root"] = "/home/x/torrents/"; // Root directory Cakebox have to scan
$app["cakebox.access"] = "/x/"; // Alias used in web server for direct access
$app["player.type"] = "VLC"; // HTML5 or DIVX or VLC
// Il faut demander une clé api à béta série pour ça : http://www.betaseries.com/api/
$app["bs.login"] = "";
$app["bs.passwd"] = "";
$app["bs.apikey"] = "";
(ngnix)
location /x/ {
alias /home/x/torrents/;
add_header Content-Disposition "attachment";
satisfy any;
allow all;
}
Compte Y :
(cakebox)
<?php
$app["cakebox.root"] = "/home/x/torrents/"; // Root directory Cakebox have to scan
$app["cakebox.access"] = "/y/"; // Alias used in web server for direct access
$app["player.type"] = "VLC"; // HTML5 or DIVX or VLC
// Il faut demander une clé api à béta série pour ça : http://www.betaseries.com/api/
$app["bs.login"] = "";
$app["bs.passwd"] = "";
$app["bs.apikey"] = "";
(ngnix)
(ngnix)
location /y/ {
alias /home/x/torrents/;
add_header Content-Disposition "attachment";
satisfy any;
allow all;
}
Voilà voilà