leider nicht.
ich habe jetzt mal den Server neu installiert und rtorrent mal mit dem install script von Bercik genutzt.
ich habe vorher den benutzer rtorrent erstellt und bei dem scribt angegeben :
Code:
rTorrent user : rtorrent
ruTorrent user : Benutzer1 Benutzer2
Your downloads folder is in /home/rtorrent/Downloads
Sessions data is /home/rtorrent/.rtorrent-session
rtorrent's configuration file is /home/rtorrent/.rtorrent.rc
in : /var/www/rutorrent habe ich erstellt
Code:
/var/www/rutorrent/conf/users/Benutzer1
/var/www/rutorrent/conf/users/Benutzer2
in den Orndern habe ich jeweils die config reinkopiert
Code:
/var/www/rutorrent/conf/users/Benutzer1 / config.php $scgi_port = 5000; $XMLRPCMountPoint = "/rutorrent/RPC2";
/var/www/rutorrent/conf/users/Benutzer2 / config.php $scgi_port = 5001; $XMLRPCMountPoint = "/rutorrent/RPC3";
auch die .rtorrent.rc habe ich mal mit rein kopiert.
die apache config habe ich einfachachalbshalber geändert in
Code:
<VirtualHost *:80>
ServerName xxx.xxx.xx.xx
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error_ip.log
CustomLog ${APACHE_LOG_DIR}/access_ip.log combined
</VirtualHost>
<VirtualHost *:80>
ServerName benutzer1.org
ServerAdmin webmaster@localhost
DocumentRoot /var/www/rutorrent
ErrorLog ${APACHE_LOG_DIR}/error_rtt.log
CustomLog ${APACHE_LOG_DIR}/access_rtt.log combined
CustomLog /var/log/apache2/rutorrent_rtt.log vhost_combined
ErrorLog /var/log/apache2/rutorrent_error_rtt.log
SCGIMount /rutorrent/RPC2 127.0.0.1:5000
<Directory "/var/www/rutorrent">
AuthName "Login Benutzer1"
AuthType Basic
Require valid-user
AuthUserFile /var/www/rutorrent/.htpasswd
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName benutzer2.org
ServerAdmin webmaster@localhost
DocumentRoot /var/www/rutorrent
ErrorLog ${APACHE_LOG_DIR}/error_rta.log
CustomLog ${APACHE_LOG_DIR}/access_rta.log combined
CustomLog /var/log/apache2/rutorrent_rta.log vhost_combined
ErrorLog /var/log/apache2/rutorrent_error_rta.log
SCGIMount /rutorrent/RPC3 127.0.0.1:5001
<Directory "/var/www/rutorrent">
AuthName "Login Benutzer2"
AuthType Basic
Require valid-user
AuthUserFile /var/www/rutorrent/.htpasswd
</Directory>
</VirtualHost>
egal ob über domain benutzer1.org oder benutzer2.org die Seite aufrufe ist bei dem 2. benutzer der Fehler.
quasi
Code:
benutzer1.org
Login : Benutzer1 geht
Login : Benutzer2 geht nicht
Keine Verbindung zu rTorrent. Überprüfe ob es wirklicht läuft. Überprüfe $scgi_port und $scgi_host Einstellungen in config.php und scgi_port in der rTorrent Konfigurationsdatei.
eigentlich sollten die einstellungen so alle richtig sein.