Bonsoir,
Ma question est la suivante :
Comment créer plusieurs utilisateurs pour cakebox et que chaque utilisateur aie ses propre fichiers (en gros pas scanner le même dossier).
J'ai créé un fichier config pour cakebox :
nano /var/www/cakebox/config/partage.php
<?php
/*
General configuration of Cakebox
*/
$app["cakebox.root"] = "/home/MONUSER/torrents/"; // Root directory Cakebox have to scan
$app["cakebox.access"] = "/cakebox/partage/"; // Alias used in web server for direct access
$app["cakebox.language"] = "fr"; //Language of Cakebox. Could be : fr, en
/*
Directory settings
*/
$app["directory.ignoreDotFiles"] = false;
$app["directory.ignore"] = "//"; // Regex for files exclusion. For exemple : "/(\.nfo|\.test)$/"
/*
Web player settings
*/
$app["player.default_type"] = "html5"; // html5 or divx or vlc
$app["player.auto_play"] = "false";
/*
Betaseries account
NB: Ask API key here http://www.betaseries.com/api/
*/
$app["bs.login"] = "";
$app["bs.passwd"] = "";
$app["bs.apikey"] = "";
$app["rights.canPlayMedia"] = true;
$app["rights.canDownloadFile"] = true;
$app["rights.canArchiveDirectory"] = true;
$app["rights.canDelete"] = false;
Puis j'ai rajouté ceci dans rutorrent.conf :
location /cakebox/partage/ {
alias /home/MONUSER/torrents/;
add_header Content-Disposition "attachment";
satisfy any;
allow all;
}
Ma question est : comment accéder à mon "user" partage via cakebox ? Car forcément quand je me connecte sur https:NDD/cakebox ça me redirige vers l'user créé en premier à savoir :
nano /var/www/cakebox/config/default.php
<?php
/*
General configuration of Cakebox
*/
$app["cakebox.root"] = "/home/MONUSER/team"; // Root directory Cakebox have to scan
$app["cakebox.access"] = "/cakebox/MONUSER/"; // Alias used in web server for direct access
$app["cakebox.language"] = "fr"; //Language of Cakebox. Could be : fr, en
/*
Directory settings
*/
$app["directory.ignoreDotFiles"] = false;
$app["directory.ignore"] = "//"; // Regex for files exclusion. For exemple : "/(\.nfo|\.test)$/"
/*
Web player settings
*/
$app["player.default_type"] = "html5"; // html5 or divx or vlc
$app["player.auto_play"] = "false";
/*
User rights
*/
$app["rights.canPlayMedia"] = true;
$app["rights.canDownloadFile"] = true;
$app["rights.canArchiveDirectory"] = true;
$app["rights.canDelete"] = false;
/*
Betaseries account
NB: Ask API key here http://www.betaseries.com/api/
*/
$app["bs.login"] = "";
$app["bs.passwd"] = "";
$app["bs.apikey"] = "";
Voilà voilà. Peut être faut-il configurer un nouveau vhost ?
Merci d'avance.