pronkax Posted September 22, 2006 Report Share Posted September 22, 2006 Hi,Is there a solution to filter the webui on header info ?On de server on which I installed UTorrent I've also installed apache. I want ton run both the website and the webui on the port 80 because that's the only port my company allows outbound.This is no problem if the webui would run on a webserver because you only have to give the webui a seperate dns name.Is there maybe a way to run the webui on apache ? Link to comment Share on other sites More sharing options...
DoubleJ Posted September 22, 2006 Report Share Posted September 22, 2006 You can run the UI on another port, something like 3434.Then you can use Apache to setup a reverse proxy (using mod_proxy), like I did:ProxyPass /emule_admin http://localhost:65000ProxyPassReverse /emule_admin http://localhost:65000This way I can access my emule webadmin (running on port 65000), by opening http://my.webserver.on.port80/emule_admin Link to comment Share on other sites More sharing options...
Lord Alderaan Posted September 25, 2006 Report Share Posted September 25, 2006 Wow handy...I didn't even think about this.Thanks DoubleJ Link to comment Share on other sites More sharing options...
pronkax Posted September 25, 2006 Author Report Share Posted September 25, 2006 Great tip, I'm certainly going to try this out... Thanks !!! Link to comment Share on other sites More sharing options...
Lord Alderaan Posted September 25, 2006 Report Share Posted September 25, 2006 I tried it but using proxy it stucks at the loading screen.LoadModule proxy_module modules/mod_proxy.soLoadModule proxy_connect_module modules/mod_proxy_connect.soLoadModule proxy_http_module modules/mod_proxy_http.soLoadModule proxy_ftp_module modules/mod_proxy_ftp.soProxyPass /utorrent http://localhost:40000ProxyPassReverse /utorrent http://localhost:40000I dunno why it doesn't work... maybe something goes wrong in the PassReverse(yes I tried the readme request cookie thingy... didn't help)Maybe a apache proxy setting u have DoubleJ? Link to comment Share on other sites More sharing options...
zman3 Posted October 8, 2006 Report Share Posted October 8, 2006 you can try the port used by msn messengar for kicks i worked at 2 places that only allowed port 80 and the msn port i used it for xps remote desktop Link to comment Share on other sites More sharing options...
Lord Alderaan Posted October 11, 2006 Report Share Posted October 11, 2006 Well I guess DoubleJ didn't try it with webui because it doesn't seem to work... Link to comment Share on other sites More sharing options...
pahajoki Posted October 29, 2006 Report Share Posted October 29, 2006 You need to use /gui as folder then it works Link to comment Share on other sites More sharing options...
Lord Alderaan Posted October 30, 2006 Report Share Posted October 30, 2006 Aha this works:LoadModule proxy_module modules/mod_proxy.soLoadModule proxy_connect_module modules/mod_proxy_connect.soLoadModule proxy_http_module modules/mod_proxy_http.soLoadModule proxy_ftp_module modules/mod_proxy_ftp.soProxyPass /gui http://localhost:40000/guiProxyPassReverse /gui http://localhost:40000/guiReplace the 40000 with your utorrent/webui port.Stupid that I didn't think about it myself.http://localhost/gui/You have to use /guiIf you do not want to use /gui you'll have to replace all instances of /gui with your prefered word in the webui .js files. Link to comment Share on other sites More sharing options...
PsychoKlown Posted November 1, 2006 Report Share Posted November 1, 2006 Sorry, but I'm running XAMPP and I'm a total noob when it comes using stuff like this.How do I add a proxy pass? Link to comment Share on other sites More sharing options...
dave__ Posted November 6, 2006 Report Share Posted November 6, 2006 I've been trying to do this for a while with no success, i think it has something to do with cookies. Using /gui as the destination seems to fix it.Any idea how to use another destination (ie http://server/utorrent/) without breaking the cookies? Link to comment Share on other sites More sharing options...
Lord Alderaan Posted November 7, 2006 Report Share Posted November 7, 2006 @dave__: That would most probably involve editing the contents of webui.zip@PsychoKlown: I think XAMPP still uses the httpd.conf file which is located in the conf folder inside the apache install. Copy and paste the lines from the above CODE at the bottom of that file. If u wanna keep your file neat search for the other LoadModule lines and place the LoadModule lines there. You might even find those exact lines with an # (disables the line (in fact it marks it as a comment)) in front of them u could replace those if you want. The Proxy stuv is still best placed at the bottom.You have to restart apache to get it to load the new config file. Link to comment Share on other sites More sharing options...
RageX Posted November 8, 2006 Report Share Posted November 8, 2006 Thanks for you tip guys even if my ports aren't blocked i removed Utorrent forward on router and Emule Remote admin and so on Link to comment Share on other sites More sharing options...
darkmanst Posted December 15, 2006 Report Share Posted December 15, 2006 Lord Alderaancan u add file torrent in webui , coz i can't . I config apache just like u did every thing seem to work fine but when add file torrent it just can't , notthing happen.if u have an answer please tell me , thank you very muchsorry for bad english Link to comment Share on other sites More sharing options...
Lord Alderaan Posted December 21, 2006 Report Share Posted December 21, 2006 Darkmanst: Yes I can add a file torrent using webui. I'm not sure what could be the cause of your problem but it might be a problem with the browser you are using on the remote computer instead of apache/webui/utorrent on your home computer. Link to comment Share on other sites More sharing options...
lamsoft Posted December 21, 2006 Report Share Posted December 21, 2006 I tried, but it stops at loading screen... and shows the request to utorrent has timed out Link to comment Share on other sites More sharing options...
hull2525 Posted January 3, 2007 Report Share Posted January 3, 2007 Yes I got the same proble. It will sho only loading screen. I know this root cause. For example.ProxyPass /gui http://localhost:40000'>http://localhost:40000/gui'>http://localhost:40000'>http://localhost:40000/guiProxyPassReverse /gui http://localhost:40000'>http://localhost:40000/gui'>http://localhost:40000'>http://localhost:40000/guiIn script of webui It should get data at this location http://localhost:40000'>http://localhost:40000 but it just got data from http://localhostIt didn't use port that i configureIf anyone know about this issue please tell me how to solve this problemThx for your kindness Link to comment Share on other sites More sharing options...
Lord Alderaan Posted January 8, 2007 Report Share Posted January 8, 2007 1st. Make sure its working locally on the µtorrent port before trying it through the proxy remotely.If you can try it remotely on the µtorrent port before using it without port..Read the webui readme.txt file about the stuck at loading problem. It might be the remote browser you are using.ONLY change the port in the code to your µtorrent port. Don't change anything else:ProxyPass /gui http://localhost:40000/guiProxyPassReverse /gui http://localhost:40000/gui Link to comment Share on other sites More sharing options...
kingkero Posted March 2, 2007 Report Share Posted March 2, 2007 i have a ploblemif i not use proxy it okbut if i use proxy,after fill username & pass then popup "the request to utorrent has time out" Link to comment Share on other sites More sharing options...
Lord Alderaan Posted March 6, 2007 Report Share Posted March 6, 2007 I had an almost similar problem.Make sure both the Pass as the reverse are correct.Copy this and only edit the port:ProxyPass /gui http://localhost:40000/guiProxyPassReverse /gui http://localhost:40000/gui Link to comment Share on other sites More sharing options...
kingkero Posted March 13, 2007 Report Share Posted March 13, 2007 i copy ProxyPass /gui http://localhost:40000/guiProxyPassReverse /gui http://localhost:40000/guiand use that port it same as before can't connect to utorrent Link to comment Share on other sites More sharing options...
Lord Alderaan Posted March 13, 2007 Report Share Posted March 13, 2007 Software firewall? Link to comment Share on other sites More sharing options...
iMiKE Posted April 7, 2007 Report Share Posted April 7, 2007 Hmmm...As for now:1. If user type smth like this:"http://webserver.domain:port" he gets "invalid request message"2. If user enters smth like this:"http://webserver.domain:port/gui" he gets complete WebUIWhy not to do so:1. If user type smth like this:"http://webserver.domain:port" he gets some static blank custom page (with link to WebUI optionally)2. If user enters smth like this:"http://webserver.domain:port/gui" he gets complete WebUIWhy so? Par example, at my work ONLY 80 port is allowed, no more ports opened. And If I want 2 access 2 my WebUI@home (I'm runnin' webserver also) its impossible. Only one - WebUI or httpd allowed at same time...Maybe blank custom page nor "invalid request" is some kind of solve? Link to comment Share on other sites More sharing options...
Lord Alderaan Posted April 10, 2007 Report Share Posted April 10, 2007 Because http://webserver.domain:port is already used by µtorrent's core activities unless you are using an alternative webui port. Link to comment Share on other sites More sharing options...
endeler Posted September 26, 2007 Report Share Posted September 26, 2007 I have the same reverse proxy scenario in my lan, except that utorrent is running on a separate host (apache firewall -> utorrent client). While everything works fine with Firefox, IE7 brings up the page "loading..." followed by a popup "The request to uTorrent has timed out". I followed all your advice and still need your help in order to get that to work. I love the interface by the way; amazing work!!! Thanks for any help!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.