requirements:
-rtorrent 0.7.8, compiled with "--with-xmlrpc-c"
 -xmlrpc >= 1.07
-some webserver
-php5, with the following extensions:
 -xsl
 -xmlrpc

installation:

to install xmlrpc, get the source from here: http://sourceforge.net/project/showfiles.php?group_id=16847
in my case, i could only compile the 1.11.00 version (due to a known bug, you may try to configure with --disable-cplusplus)
of course, you can try any version, over 1.07
follow the next steps, as root (this step is not needed, if you're upgrading from a pervious version):
	cd /usr/src
	wget http://dfn.dl.sourceforge.net/sourceforge/xmlrpc-c/xmlrpc-c-1.11.00.tgz
	tar xvf xmlrpc-c-1.11.00.tgz
	cd xmlrpc-c-1.11.00
	./configure --disable-cplusplus
	make
	make install

to install libtorrent, follow the next steps, as a root:
	mkdir /usr/src/libtorrent
	wget http://libtorrent.rakshasa.no/downloads/libtorrent-0.11.8.tar.gz
	tar xvf libtorrent-0.11.8.tar.gz
	cd /usr/src/libtorrent-0.11.8
	./configure
	make
	make install

to install rtorrent, follow the next steps, as a root:
	mkdir /usr/src/rtorrent
	wget http://libtorrent.rakshasa.no/downloads/rtorrent-0.7.8.tar.gz
	tar xvf rtorrent-0.7.8.tar.gz
	cd /usr/src/rtorrent-0.7.8
	./configure --with-xmlrpc-c
	make
	make install
	
now, after everything's done
-extract the rtwi-xxxxxx.tar.gz to some place where your webserver can see it
-open the includes/config.php.inc, and edit the next lines (this step is not needed, if you're upgrading from a pervious version):
 -$abs_path (the absolute path of your webroot, i.e.: "/var/www")
 -$domain (your domain, i.e.: "example.com")
 -$site_path (the relative path of the rtwi-xxxx directory, or whatever you renamed it, within your webroot, i.e.: "/rtwi/", if it's absolute path is /var/www/rtwi/)
 -$include_path (if you move the includes directory, or eave it untouched, i.e.: "/includes")
 -if your php interpreter does not handle .html files (only .php) set the $default_ext variable to "php", and rename the index.html to index.php

-you can find an example .rtorrent.rc file here: http://libtorrent.rakshasa.no/browser/trunk/rtorrent/doc/rtorrent.rc?rev=latest
-open .rtorrent.rc, and edit them (for each user)
 -add this line to your .rtorrent.rc "scgi_port = 127.0.0.1:12345" where 12345 can be replaced by your choice, and restart rtorrent
 -if you have more than one user, set a different port for each user's .rtorrent.rc file (be aware, to set different session directories for the users)

-adding users (this step is not needed, if you're upgrading from a pervious version):
 -find row 44, and change it:
 -replace "userX" with the actual linux username (keep the quotes)
 -replace "1234567890abcdef1234567890abcdef12345678" with the hash of the choosen password for the webui (you can generate the sha1 hash here => http://www.johnmaguire.us/tools/hashcalc/index.php)
 -replace "12345", with the port, you've set in the user's .rtorrent.rc file
 -keep the quotes in the last three steps
 -if you have more than one user, you have to do these steps, for each one of them, sop you'll get something like this:
	$users = array(
		"user1"		=> array( "pass" => "1234567890abcdef1234567890abcdef12345678", "port"	=> "12345" ),
		"user2"		=> array( "pass" => "1234567890abcdef1234567890abcdef12345678", "port"	=> "12346" ),
		"user3"		=> array( "pass" => "1234567890abcdef1234567890abcdef12345678", "port"	=> "12347" ),
	);

-all users, using this webui will need an "!rtwi_files" directory into their download directory (set by "directory = some/path" in the .rtorrent.rc) with 0777 rights

bug reports, whishlist, suggestions, anything: ghudiczius@gmail.com

p.s.: sorry, for this loosy manual, and my even worse english :)
