aMule Forum

English => aMule Help => Topic started by: tuxeh on May 04, 2004, 10:46:11 PM

Title: web-server doesnt work...
Post by: tuxeh on May 04, 2004, 10:46:11 PM
hi there,

i configured the amuleweb as i saw in this forum...
then i try to connect on locahost:4711 but it doesnt work, amuleweb gives me this error :

*** parsing url / :: field ses
*** URL parsed. returning
*** parsing url / :: field w
*** URL parsed. returning
*** parsing url / :: field ses
*** URL parsed. returning
*** parsing url /favicon.ico :: field ses
*** URL parsed. returning
*** parsing url /favicon.ico :: field w
*** URL parsed. returning
*** parsing url /favicon.ico :: field ses
*** URL parsed. returning

In my browser i just get a blank page (viewed the source and there was nothing there ;-))

can anyone help me fix this problem?
o yeah i apt-get'ed it in debian don't know if thats bogus information but maybe it can be usefull ;-)
Title: Re: web-server doesnt work...
Post by: stefanero on May 05, 2004, 07:52:10 AM
hey

well there is a "minor" bug in webserver code atm, so you can only conect to webserver from localhost.
when you are able to compile it yourself, shakraw just made the fix ;)

Code: [Select]
diff -Lsrc/WebSocket.cpp -Lsrc/WebSocket.cpp
48c48
<       addr.Hostname("localhost");
---
>       addr.AnyAddress();

just take out the first line in WebSocket.cpp from the source code and replace it with the second one, thats it ;)
recompile your amule and amuleweb, and everything shoudl do :)

stefanero

PS: This is the help for webserver RC3 so when you use 1.2.6 its just that webserver was a bit buggy that time ;)