aMule Forum

English => aMule Help => Topic started by: Sylver on November 19, 2005, 07:38:18 PM

Title: Disabling php webserver ?
Post by: Sylver 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
Title: Re: Disabling php webserver ?
Post by: lfroen 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 :)
Title: Re: Disabling php webserver ?
Post by: stefanero on November 19, 2005, 10:19:46 PM
if you use remote.conf there is a template variable btw
Title: Re: Disabling php webserver ?
Post by: Sylver 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 ;)
Title: Re: Disabling php webserver ?
Post by: lfroen 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.
Title: Re: Disabling php webserver ?
Post by: Sylver 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 !
Title: Re: Disabling php webserver ?
Post by: Meeni 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
Title: Re: Disabling php webserver ?
Post by: Aethereal 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).
Title: Re: Disabling php webserver ?
Post by: dR0PS 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
Title: Re: Disabling php webserver ?
Post by: lfroen 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.