I did manage to get SmokePing to work completely and I thank you for the help but I would like the site to come up under HTTP and not HTTPS. How can I do that?
In your /etc/httpd/conf/httpd.conf file, change the the following line:
That should enable connections to port 80 from any IP address.
I do want to keep some restrictions. Could I list that directive in the conf file for smokeping in /etc/httpd/conf.d ?
And that actually didn't work, still https only. Is there anything that needs to go into the site conf file in conf.d? In that file I have Directory directive, some options, end the Directory and a scriptalias and an alias.
Did you restart the httpd service after making the change?
systemctl restart httpd.service
The Listen change only allows the httpd service to listen for connections from external hosts on port 80 (http connections from the outside world). Check the Allow setting in /etc/httpd/conf/httpd.conf in the document root setting to see what IP addresses are permitted to connect to your machine (look for <Directory /> in your config file).
I'm assuming you already created a /etc/httpd/conf.d/smokeping.conf file to configure the httpd service for access to your new tool. If not here's a simple example configuration which allows people on the 192.168.1.0/24 network to browse the /tmp directory on the NST system using HTTP to "/temp" on the NST (like: http://192.168.1.140/temp/).
Options FollowSymLinks Indexes
Deny from all
Allow from 127.0.0.1 192.168.1.0/24
IndexOptions FancyIndexing SuppressDescription FoldersFirst VersionSort NameWidth=* SuppressHTMLPreamble
AuthName "NST WUI: System Management"
Alias /temp "/tmp"
NOTE: The above is a simple file serving area - the smokeping utility may require additional httpd configuration.
Log in to post a comment.