Koozali.org: home of the SME Server

Obsolete Releases => SME 9.x Contribs => Topic started by: marsa_matruh on July 09, 2016, 12:47:27 AM

Title: free access to phpsysinfo with sensors
Post by: marsa_matruh on July 09, 2016, 12:47:27 AM
Hi,

I'm setting a new server with SME 9.1 x86_64. I want to have a phpsysinfo web page with free access to everybody. I installed the smeserver-phpsysinfo contrib. Although I applied the:
Code: [Select]
db configuration setprop phpsysinfo access public
db configuration setprop phpsysinfo HTTPS off
I can't get free access to the phpsysinfo page. It is still switching to https and asking me for username/password. Moreover, it only accepts admin login/password.

In opposite, if I use the ibay install tutorial (http://smeserver.pialasse.com/index.php/Phpsysinfo), I can get free access to the phpsysinfo page but I'm loosing all parts about sensors (voltage, temp, fan).

So, is there a method to get the best of the two i.e. free access and sensors info?
Title: Re: free access to phpsysinfo with sensors
Post by: janet on July 09, 2016, 04:55:04 AM
marsa_matruh

Follow commands with expand template and restart service

Quote
expand-template /etc/httpd/conf/httpd.conf sv t httpd-e-smith
or
signal-event console-save

Actually I am correcting this, it is a copy & paste line wrapping issue.
It should have said
expand-template /etc/httpd/conf/httpd.conf
sv t httpd-e-smith
or
signal-event console-save
Title: Re: free access to phpsysinfo with sensors
Post by: marsa_matruh on July 09, 2016, 05:33:34 PM
Of course, I did, as indicated in the tuto.
Title: Re: free access to phpsysinfo with sensors
Post by: CharlieBrady on July 09, 2016, 05:43:26 PM
Follow commands with expand template and restart service

expand-template /etc/httpd/conf/httpd.conf sv t httpd-e-smith

That should be:

Code: [Select]
expand-template /etc/httpd/conf/httpd.conf ; sv t httpd-e-smith

or

Code: [Select]
expand-template /etc/httpd/conf/httpd.conf
sv t httpd-e-smith

Quote
or
signal-event console-save

This isn't reliable advice. The console-save event is obsolete, and can't be relied upon to do anything particular.
Title: Re: free access to phpsysinfo with sensors
Post by: guest22 on July 09, 2016, 06:57:04 PM
This isn't reliable advice. The console-save event is obsolete, and can't be relied upon to do anything particular.

Where is this properly documented please?
Title: Re: free access to phpsysinfo with sensors
Post by: CharlieBrady on July 09, 2016, 08:33:44 PM
Where is this properly documented please?

AFAIK, it's not. And my advice was wrong in any case. The console-save event is only rarely used by the console, but it still is used. And it does in fact reconfigure and restart apache. My bad.
Title: Re: free access to phpsysinfo with sensors
Post by: janet on July 10, 2016, 12:33:37 AM
Charlie & HFW

Copied directly from
https://wiki.contribs.org/Phpsysinfo
Title: Re: free access to phpsysinfo with sensors
Post by: janet on July 10, 2016, 12:37:49 AM
marsa_matruh

Quote
Of course, I did, as indicated in the tuto.

....but you did not say that in your post so I thought it may have been overlooked.
I was referring to the contribs wiki article.
Title: Re: free access to phpsysinfo with sensors
Post by: marsa_matruh on July 10, 2016, 12:51:10 AM
Janet,

my apologize for not telling what I did exactly. That may not help understanding if I just forget one steep or if something is wrong in the present documentation.