Lord Alderaan Posted November 6, 2008 Author Report Share Posted November 6, 2008 Weird. I'll go pondering on how cookies could mess the Webui Shell up. Link to comment Share on other sites More sharing options...
splinter98 Posted November 6, 2008 Report Share Posted November 6, 2008 Thanks, Also a friend tried placing the site in an iframe and comes with the same error despite it working normally - don't know if that helps or not.Also I have one small feature request: can you allow the login authentication to be done via basic authentication (the same as what webUI uses), as then this will allow all apps that use utorrent API to use this multi user interference without any modification on their side. some apps will work if they are attached to a web browser and can see if the user has already logged in. Link to comment Share on other sites More sharing options...
Lord Alderaan Posted November 6, 2008 Author Report Share Posted November 6, 2008 This is already in 0.3 which is currently in developement. Link to comment Share on other sites More sharing options...
sonyfero Posted November 8, 2008 Report Share Posted November 8, 2008 Hello! Just installed it! Some points:I installed it on my DreamHost account, where I have a custom PHP5 install --where I can't use new RewriteRule's without ask them to reboot the server (strange, because AddHandler worked instantly). I then renamed /webui_shell/ folder to /whatever/ (which is the name I want to use -- not /gui/) and configured config.php with same value. Worked! =DConclusion: rewrite can be described as optional since you made it no absolute path dependant (no direct references to /home/username/website/webui_shell folder).Problem I'm facing:No "layout" downloaded. See:http://lord123:123@www.mundialnet.info/seedbox/ -- the seedbox adminhttp://lord234:234@www.mundialnet.info/seedbox/ -- restricted (guest)Thanks Link to comment Share on other sites More sharing options...
Lord Alderaan Posted November 8, 2008 Author Report Share Posted November 8, 2008 It is not optional. Without the rewrite you only get the index.html file and none of the other webui files.For example:The reason of the rewrite is so that a link like http://www.mundialnet.info/gui/images/toolbar.png leads to the webuishell at http://www.mundialnet.info/webui_shell/index.php?shell_file=images/toolbar.png and then the webui_shell then gets that file from http://utorrentip:utorrentport/images/toolbar.png and returns it (with not allowed buttons filtered from it).http://www.mundialnet.info/webui_shell/images/toolbar.png returns 404 because it does not exist. And if you'd create the file (extracted from the webui.zip) it would be there but it wouldn't be filtered.But maybe there is a way to do it without the rewrite but that is gonna be put down low on the todo list because it would be more of a nuisance to keep updated might remove or make certain features complicated and the only purpose it would serve is seedbox users without apache admin access. Link to comment Share on other sites More sharing options...
sonyfero Posted November 8, 2008 Report Share Posted November 8, 2008 I got it.I will ask DreamHost if my custom PHP setup that I have on my accounts is the reason for Rewrite not work. If there's no way to get it functional there, I will use my seedbox server -- I just avoided it from start, because sometimes we need to upgrade server, which would require a new setup off webui shell.Thanks, Lord Alderaan!-- editLord,none of provided rewrite rules is working for me (tried yours and SilentStriker)I'm still seeing the /gui/ directory listing... Tried on a fresh system (just installed apache + php 5 and required modules, all loaded!)May we chat through IM or PMs? Link to comment Share on other sites More sharing options...
dinia Posted November 10, 2008 Report Share Posted November 10, 2008 after installation it worked fine for some time: users saw only their own downloads. But after that something happened and all the downloads became visible for all users. Flag "Show_All_Torrents" is set to "0" for all users. There are something about 60 downloads in list - how to split them by users again? Link to comment Share on other sites More sharing options...
Lord Alderaan Posted November 10, 2008 Author Report Share Posted November 10, 2008 Make sure Show_Unclaimed_Torrents is also set to 0. If it is it might be a bug, but it'll be hard to find.You can login to the admin panel and remove torrents from users who shouldn't have them at the bottom of each user panel. Link to comment Share on other sites More sharing options...
alcaholjunkie Posted November 27, 2008 Report Share Posted November 27, 2008 A little bump to avoid double posting for new version update. Link to comment Share on other sites More sharing options...
Lord Alderaan Posted November 27, 2008 Author Report Share Posted November 27, 2008 Ok I just released 0.3To upgrade from 0.2 download the new rar and extract the files in it. Overwrite all the old webui_shell files with the new ones except for your config.php. Login to the admin panel and the webui will update itself (required).To install afresh follow the readme.The major changes are also listed in the OP.I had to push some tasks to the next release or this release would have taken even longer.Eagerly awaiting bugs and new suggestions. Link to comment Share on other sites More sharing options...
qbjack Posted November 28, 2008 Report Share Posted November 28, 2008 I've just upgraded from 0.23 to 0.3 the way you described, Alderaan.What worked great with the old version, the new one is not.My browsers (IE7 + FF3) tell me, they stop loading the page because it leads to an infinite redirection loop.Then I replaced the files one by one. Index.php is that one causing this error.The webui_shell is running on IIS6 with latest PHP5. I can confirm every time, that it is the new Index.php by just replacing it with the old (0.23) version.Maybe you can help with that.Many thanks so far. Link to comment Share on other sites More sharing options...
Lord Alderaan Posted November 28, 2008 Author Report Share Posted November 28, 2008 Hmmz that is weird. That shouldn't happen. Could you replace the index.php with a text file that simply has this:<?phpecho 'REQUEST_URI='.$_SERVER['REQUEST_URI'].'<br>PHP_SELF='.$_SERVER['PHP_SELF'];?>And then open the Webui Shell and post here what it shows? Link to comment Share on other sites More sharing options...
qbjack Posted November 28, 2008 Report Share Posted November 28, 2008 Thanks for the fast reply.This is the output:REQUEST_URI=/webui_shell/index.php?shell_file=PHP_SELF=/webui_shell/index.phpI just accidently misspelled the url (with the 0.30 index.php in use). I typed http://server/gui/, - yes, a comma after the 'gui/' and the login-screen opened. I didn't try to login. Maybe that helps a bit.Update: Ok, after trying to login with the misspelled url, FF once again gives me the same error. Link to comment Share on other sites More sharing options...
Lord Alderaan Posted November 28, 2008 Author Report Share Posted November 28, 2008 Aahhhhh. IIS behaves differently.Ok I have a fix that you could try. Use this new index.php:http://cdlist.mine.nu/dump/fix.rar Link to comment Share on other sites More sharing options...
qbjack Posted November 28, 2008 Report Share Posted November 28, 2008 That looks promising. I think it works. In IE7 it's ok. Have to try in FF3. Thank you very much for your fast help!Update: Works flawlessly on IE7 and FF3. Thank you!Another question:Is there a chance to get rid of the /gui ? As I am running this app in a seperate (sub)domain I don't need the /gui to distinguish between several apps on that domain. Link to comment Share on other sites More sharing options...
Lord Alderaan Posted November 28, 2008 Author Report Share Posted November 28, 2008 You tried setting altname in the config.php like:$altname='/';and Ionic Isapi Rewrite to:RewriteCond %{QUERY_STRING} ^$RewriteRule ^/(.*)$ /webui_shell/index.php?shell_file=$1 [L]RewriteRule ^/(.*)\?(.*)$ /webui_shell/index.php?shell_file=$1&$2 [L] Link to comment Share on other sites More sharing options...
asrael Posted November 28, 2008 Report Share Posted November 28, 2008 HiI have a similar problem as splinter98 had. The CSS doesnt seem to work when using webui shell (webui alone is fine) thus there is no style on the page. I can give a test login to show or screenshot.Btw that fix on the index (few posts before) fixed my other problem, i had loop in apache and lighttpd too. Link to comment Share on other sites More sharing options...
qbjack Posted November 28, 2008 Report Share Posted November 28, 2008 You are my hero Lord Alderaan. Again, thanks a lot! Link to comment Share on other sites More sharing options...
Lord Alderaan Posted December 4, 2008 Author Report Share Posted December 4, 2008 I've been working with asrael on a new version and I'm sure we'll release it soon preview Link to comment Share on other sites More sharing options...
thelittlefire Posted December 4, 2008 Report Share Posted December 4, 2008 ... It has disk space info!!Marvelous demo, sirs Thank you. Link to comment Share on other sites More sharing options...
dje7452 Posted December 10, 2008 Report Share Posted December 10, 2008 Hi Everybody,I'm French so excuse my english ;-)I have a server on windows 2003 and wampserver2c, I install your script but when I try to log in I have this message : {"build":12639}.Somebody can help me, please ?Thanks and Regards Link to comment Share on other sites More sharing options...
Lord Alderaan Posted December 10, 2008 Author Report Share Posted December 10, 2008 Did you follow the guide exactly including the install and setup of Ionic Isapi Rewriter? Link to comment Share on other sites More sharing options...
dje7452 Posted December 12, 2008 Report Share Posted December 12, 2008 Hi Lord Alderaan,Yes I follow the guide (I tried two times to do this...),I always have this error. Do you have an idea ? Link to comment Share on other sites More sharing options...
xsoftnn Posted December 13, 2008 Report Share Posted December 13, 2008 Hi Lord Alderaan,HELp me pleaseSHELL: Configuration Error: Database version unknown.win2003 iis6 php--- http://x-host.pp.ru/php_info.php Link to comment Share on other sites More sharing options...
Lord Alderaan Posted December 13, 2008 Author Report Share Posted December 13, 2008 xsoftnn you probably have a corrupt sql database.Try renaming sql_users.dat in your settings folder to start afresh. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.