aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: webserver on Mac OS X  (Read 1866 times)

samson

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
    • http://samson.net.ru
webserver on Mac OS X
« on: August 22, 2005, 10:16:47 AM »

i try to use amuleweb on Mac OS X Server 10.3 and Mac OS X 10.4
when i connect to http://localhost:4711 i see login window. when i enter my password and click "Login Now" after a few seconds i see the same page with login window!
tested on aMule 2.0.3 binaries from http://www.amule.org with Safari and Opera.

how can i solve my problem?

sorry for my english. (-:
« Last Edit: August 22, 2005, 10:17:54 AM by samson »
Logged

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
Re: webserver on Mac OS X
« Reply #1 on: August 22, 2005, 09:29:16 PM »

OK, that's weird.  To figure out what's going on, it might help to see the output from amuleweb.  That means running it manually instead of letting aMule run it automatically.  So do the following:

(These instructions assume your aMule.app is in /Applications.  If it isn't, replace all occurrences of "/Applications/aMule.app" with the proper path to aMule.app.)

  • Open the Terminal application (in /Applications/Utilities)
  • When you run amuleweb manually, it uses ~/.aMule/remote.conf for its configuration information instead of ~/.aMule/amule.conf.  To create this file, do this: /Applications/aMule.app/Contents/MacOS/amuleweb --create-config-from=~/.aMule/amule.conf
    You only have to do that once.  It will create an appropriate remote.conf, which will be available whenever you run amuleweb manually in the future.
  • Kill amuleweb if it's already running: killall amuleweb
  • Run amuleweb manually, with verbose output: /Applications/aMule.app/Contents/MacOS/amuleweb --verbose
  • Now try to login to amuleweb using your web browser
  • Quit amuleweb by giving the "quit" command at the amuleweb prompt
  • Copy the amuleweb output from the Terminal window and paste it to a post here.

Hopefully that will help us figure out what's happening.
Logged

samson

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
    • http://samson.net.ru
Re: webserver on Mac OS X
« Reply #2 on: August 23, 2005, 08:02:40 AM »

yes, of course i was running it manually. but i didn't know about file amule.conf!
so, it works now!!
great!!!

thanx!
Logged

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
Re: webserver on Mac OS X
« Reply #3 on: August 23, 2005, 07:36:05 PM »

OK, that was easy.  You're welcome.  Happy to help.  :)
Logged