Koozali.org: home of the SME Server

free access to phpsysinfo with sensors

Offline marsa_matruh

  • *****
  • 250
  • +0/-0
free access to phpsysinfo with sensors
« 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, 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?

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: free access to phpsysinfo with sensors
« Reply #1 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
« Last Edit: July 10, 2016, 02:37:06 AM by janet »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline marsa_matruh

  • *****
  • 250
  • +0/-0
Re: free access to phpsysinfo with sensors
« Reply #2 on: July 09, 2016, 05:33:34 PM »
Of course, I did, as indicated in the tuto.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: free access to phpsysinfo with sensors
« Reply #3 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.

guest22

Re: free access to phpsysinfo with sensors
« Reply #4 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?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: free access to phpsysinfo with sensors
« Reply #5 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.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: free access to phpsysinfo with sensors
« Reply #6 on: July 10, 2016, 12:33:37 AM »
Charlie & HFW

Copied directly from
https://wiki.contribs.org/Phpsysinfo
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: free access to phpsysinfo with sensors
« Reply #7 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.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline marsa_matruh

  • *****
  • 250
  • +0/-0
Re: free access to phpsysinfo with sensors
« Reply #8 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.