SourceForge has been redesigned. Learn more.

Apache help

  • rrhoads

    rrhoads - 2012-12-05

    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?

  • Paul Blankenbaker

    In your /etc/httpd/conf/httpd.conf file, change the the following line:



    Listen 80

    That should enable connections to port 80 from any IP address.

  • rrhoads

    rrhoads - 2012-12-05

    I do want to keep some restrictions. Could I list that directive in the conf file for smokeping in /etc/httpd/conf.d ?

  • rrhoads

    rrhoads - 2012-12-05

    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.

  • Paul Blankenbaker

    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 network to browse the /tmp directory on the NST system using HTTP to "/temp" on the NST (like:

    <Directory "/tmp">
      Options FollowSymLinks Indexes
      Order deny,allow
      Deny from all
      Allow from
      IndexOptions FancyIndexing SuppressDescription FoldersFirst VersionSort NameWidth=* SuppressHTMLPreamble
      AuthType Basic
      AuthName "NST WUI: System Management"
      AuthUserFile "/etc/httpd/conf/htuser.nst"
      require valid-user
    Alias /temp "/tmp"

    NOTE: The above is a simple file serving area - the smokeping utility may require additional httpd configuration.

  • rrhoads

    rrhoads - 2012-12-12

    Thank you!


Log in to post a comment.