MLDonkey Forum Index
Homepage •  Bugs •  Tasks •  Patches •  SF.net Project Page •  ChangeLog •  German forum •  Links •  Wiki •  Downloads
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Need help for Lighttpd reverse proxy for MLDonkey 3.0.3

 
Post new topic   Reply to topic    MLDonkey Forum Index -> Problems with MLDonkey Client (in general, and ed2k, kad, overnet)
View previous topic :: View next topic  
Author Message
raidenii
neophyte


Joined: 07 Nov 2010
Posts: 4

PostPosted: Tue Oct 04, 2011 4:52 pm    Post subject: Need help for Lighttpd reverse proxy for MLDonkey 3.0.3 Reply with quote

Hi all,

I'm using MLDonkey 3.0.3 comes with Debian and Lighttpd as my web server. I want to use Lighty as a reverse proxy so that I could access my MLDonkey WebUI by http://mydomain/mlnet/. It's very easy to do it on nginx, but on Lighty I just can't get it running. MLDonkey (not lighty) always prompts 404, saying that mlnet/ was not found on the server, so I guess it's a rewrite issue.

My lighty settings:
Code:
$HTTP["url"] =~ "^/mlnet/" {
  proxy.server = (
    "" => (
      (
        "host" => "127.0.0.1",
        "port" => 4080
      )
    )
  )
}


Any suggestions would be appreciated.
Back to top
View user's profile Send private message
ygrek
professional


Joined: 20 Mar 2010
Posts: 521

PostPosted: Wed Oct 05, 2011 1:52 pm    Post subject: Reply with quote

Looks like you should teach lighttpd to rewrite urls : /mlnet/url -> /url
_________________
Download | Report bugs | git mirror
Back to top
View user's profile Send private message Visit poster's website
raidenii
neophyte


Joined: 07 Nov 2010
Posts: 4

PostPosted: Wed Oct 05, 2011 3:48 pm    Post subject: Reply with quote

ygrek wrote:
Looks like you should teach lighttpd to rewrite urls : /mlnet/url -> /url

Tried with
Code:
url.rewrite-once += ( "^/mlnet/(.*)$" => "/$1" )
with no luck. url.rewrite doesn't work inside a
Code:
$HTTP["url"]{}
block.
Back to top
View user's profile Send private message
ygrek
professional


Joined: 20 Mar 2010
Posts: 521

PostPosted: Thu Oct 06, 2011 8:21 am    Post subject: Reply with quote

Sorry, I don't know lighttpd and cannot help here.
_________________
Download | Report bugs | git mirror
Back to top
View user's profile Send private message Visit poster's website
ygrek
professional


Joined: 20 Mar 2010
Posts: 521

PostPosted: Wed Oct 19, 2011 8:50 am    Post subject: Reply with quote

For the record - https://savannah.nongnu.org/task/index.php?11454
_________________
Download | Report bugs | git mirror
Back to top
View user's profile Send private message Visit poster's website
raidenii
neophyte


Joined: 07 Nov 2010
Posts: 4

PostPosted: Wed Oct 19, 2011 4:40 pm    Post subject: Reply with quote

ygrek wrote:
For the record - https://savannah.nongnu.org/task/index.php?11454

Thanks - though I don't really think it's a problem of MLDonkey. Rather I would say it's a Lighttpd problem.
Back to top
View user's profile Send private message
kingchy
neophyte


Joined: 04 Oct 2011
Posts: 1

PostPosted: Sun Sep 30, 2012 1:13 am    Post subject: Reply with quote

raidenii wrote:
ygrek wrote:
For the record - https://savannah.nongnu.org/task/index.php?11454

Thanks - though I don't really think it's a problem of MLDonkey. Rather I would say it's a Lighttpd problem.


Agree with you. But #11454 does help to resolve this issue.
Back to top
View user's profile Send private message
ygrek
professional


Joined: 20 Mar 2010
Posts: 521

PostPosted: Sun May 19, 2013 6:38 pm    Post subject: Reply with quote

Please test https://savannah.nongnu.org/task/index.php?11454
_________________
Download | Report bugs | git mirror
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    MLDonkey Forum Index -> Problems with MLDonkey Client (in general, and ed2k, kad, overnet) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Sourceforge.net Logo