Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: MasthaX on June 08, 2007, 12:25:32 PM
-
I have installed a rpm package containing the PHPsysinfo system. Its accessed by http://server/phpsysinfo. This works fine, but i have to login all the time. Also it isnt accessable from the outside. I have check its not an Ibay thing. is there any command how to make phpsysinfo public for web without password?
-
try using it on secure HTTPS
i access mine from the internet while at work
-
i know, thats not the problem. The problem is it cant be accessed from outside my network. they get the 404 error not found. tried both http and https
-
Masthax
cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
ls
Find the custom template. I don't use phpsysinfo so i can't tell you how it's named but it should be something like 97sysinfo or something.
Thenmcedit [custom template file]
and edit the file.
This doesn't explain 404 error (it should be "restricted" not "not found") but it will enable you to remove the auth and check if you're typing the proper alias.
The not found error comes from another problem. Try to access it trough your ip (with https).
-
cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
ls
This isnt located on my server.
its goes as far as :
etc/e-smith/templates-custom/etc/
in that folder there's only a file called proftpd.conf or something like that
so i cant edit the file. Is there any other way?
the folder phpsysinfo is located in /opt/phpsysinfo
-
Can you give me the link to the contrib you used?
It seems that the template is not where it should be.
-
Im affraid i dont have it anymore. it was a RPM package thats all i know.
-
Check in /etc/e-smith/templates/etc/httpd/conf/httpd.conf
If i found the correct contrib use
mcedit /etc/e-smith/templates/etc/httpd/conf/httpd.conf/86PhpsysinfoAlias
and edit the file.
-
Another method is :
Install smeserver-phpsysinfo (prob. done already)
Create ibay with name sysinfo
copy content from /opt/phpsysinfo to html map from ibay
give command
db accounts setprop sysinfo PHPBaseDir /home/e-smith/files/ibays/sysinfo/:/proc:/etc:/usr/bin:/bin:/sbin:/usr/local/sbin
uninstall phpsysinfo
These steps (in this order) will prevent that you have to expand templates again. And instead of using phpsysinfo you can use sysinfo for seeing the information you want.
And ofcourse... the ibay is more adjustable in access.. it all depends on what you prefer ofcourse. I like this better for my own servers.
Harro
PS: you could rename the ibay sysinfo to phpsysinfo after you're done (not earlier) but you also have to adjust the basedir directive and in case you want to install an update you will run into trouble because the name phpsysinfo is existing already then.