aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Disabling php webserver ?  (Read 3953 times)

Sylver

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Disabling php webserver ?
« on: November 19, 2005, 07:38:18 PM »

I recently updated my amule CVS (running on a small device running linux) and it's now serving admin pages through php.
I got some problems connection to pages with firefox, and i thing these pages are simply horrible (sorry for being so rude).
I would like to run the old-clean-beautifull pages, is there a configure option for that ?

Thanks,

Sylver
Logged

lfroen

  • Guest
Re: Disabling php webserver ?
« Reply #1 on: November 19, 2005, 09:34:23 PM »

Quote
i thing these pages are simply horrible (sorry for being so rude)
Don't be. I'm not pretending to be good designer.

Change template to  "default" or "chicane" - those 2 looks exactly as before. Default template is "php-default". Use -t
And technically speaking php can not be disabled - that is amuleweb itself now :)
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Disabling php webserver ?
« Reply #2 on: November 19, 2005, 10:19:46 PM »

if you use remote.conf there is a template variable btw
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."

Sylver

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: Disabling php webserver ?
« Reply #3 on: November 20, 2005, 10:27:02 AM »

Thanks a lot for your answers !
I changed the default value to "default" and i now have the same web interface as before !
I still have problems viewing logs and connecting to a server, i'll check with latest CVS then ;)
Logged

lfroen

  • Guest
Re: Disabling php webserver ?
« Reply #4 on: November 20, 2005, 11:18:00 AM »

Quote
I still have problems viewing logs and connecting to a server,

Please explain your problem(s) in detail so we will have chance to fix it.
Logged

Sylver

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: Disabling php webserver ?
« Reply #5 on: November 20, 2005, 12:44:56 PM »

i was using aMule-CVS-20051107.tar.bz2 and pressing some button didn't work !
I just update to aMule-CVS-20051120.tar.bz2 and all is working perfectly ! Even connecting with firefox works !
Thanks a lot for your great work !
Logged

Meeni

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 26
Re: Disabling php webserver ?
« Reply #6 on: November 29, 2005, 04:38:49 PM »

I get a similar problem with Firefox and amule-cvs. I am able to loggin on amuleweb (php-default) but when clicking on the buttons (like search and so on) I get back to the loggin page.

Cookies are enabled on my Firefox.

Problem appeared on CVSDATE Wed Oct 26 07:02:02 CEST 2005
and still persist on  CVSDATE Mon Nov 28 07:02:01 CET 2005
Logged

Aethereal

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 35
Re: Disabling php webserver ?
« Reply #7 on: November 29, 2005, 05:26:21 PM »

Some firefox users had problem with so-called "accellerators" extensions... most of them try to download the linked pages before people actually click on them.
Unfortunately one of the links in Web Control Panel is the Log-out one...
If you have one of such extension, try disabling it or, if configurable, instruct it not to prefetch your aMuleWeb addresses.
And of course... you must have cookies enabled for the new aMuleWeb to work correctly (there's no more a session ID in the url), so may be worth a try to check that your aMuleWeb address isn't listed as "block" even if cookies are enabled (just to be sure).
« Last Edit: November 29, 2005, 05:33:09 PM by Aethereal »
Logged

dR0PS

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: Disabling php webserver ?
« Reply #8 on: December 05, 2005, 12:41:51 AM »

don't forget ...

the php-webserver uses a cookie, that will identify the host by it's hostname [what else]
so double-check the configs for the hostnames/domainnames

that was a problem here... default in the configs is always 'localhost', so it won't work from elsewhere than localhost's web-browser. i believe you will always have to change that to the real hostname. At least you work with the php-interface, the others don't use cookies.

bye
« Last Edit: December 05, 2005, 12:43:38 AM by dR0PS »
Logged
gestern gings noch....

lfroen

  • Guest
Re: Disabling php webserver ?
« Reply #9 on: December 05, 2005, 07:18:41 AM »

Quote
default in the configs is always 'localhost', so it won't work from elsewhere than localhost's web-browser
I have no idea what are you talking about. "localhost" is not some kind of default, it is name you used to access amuleweb (what you typed in URL).
If you will type "somemyhost" there, cookie will be given that name.
Logged