From feb47241d9f355ee00f85f8ff06cf3a3be759b31 Mon Sep 17 00:00:00 2001 From: matthewwall Date: Thu, 8 Sep 2016 10:29:17 -0400 Subject: [PATCH] distinguish rpm vs deb --- docs/usersguide.htm | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/docs/usersguide.htm b/docs/usersguide.htm index 7b920eb1..40ed7262 100644 --- a/docs/usersguide.htm +++ b/docs/usersguide.htm @@ -4231,14 +4231,14 @@ sudo /etc/init.d/weewx restart

The reports generated by weewx can be served by a web server running on the same computer as weewx. These are instructions for making - weewx reports available via the apache + weewx reports available via the Apache web server. The process is similar for other web servers such as nginx or lighthttpd.

  1. -

    Install the apache web server on the computer on which +

    Install the Apache web server on the computer on which weewx is running. For example, on Debian systems:

    @@ -4246,11 +4246,13 @@ sudo /etc/init.d/weewx restart
  2. -

    Copy the Apache configuration snippet that comes with - weewx to the apache configuration directory. -

    +

    Configure Apache to see the weewx reports.

    -

    If weewx was installed from DEB or RPM:

    +

    If weewx was installed from RPM, there is + nothing to do since the reports are placed in the Apache DocumentRoot + at /var/www/html/weewx

    + +

    If weewx was installed from DEB:

    sudo ln -s /etc/weewx/apache/conf.d/weewx.conf /etc/apache2/conf.d
    @@ -4273,7 +4275,7 @@ sudo /etc/init.d/weewx restart
  3. -

    Restart apache:

    +

    Restart Apache:

    sudo /etc/init.d/apache2 restart