aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: web-server doesnt work...  (Read 2477 times)

tuxeh

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
web-server doesnt work...
« 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 ;-)
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: web-server doesnt work...
« Reply #1 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 ;)
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."