Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
Nächste ÜberarbeitungBeide Seiten der Revision
centos:apc [08.01.2017 22:49. ] – [apcupsd-cgi] djangocentos:apc [08.01.2017 22:51. ] – [old stuff] django
Zeile 893: Zeile 893:
  
 ==== Konfiguration ==== ==== Konfiguration ====
-Da wir die WEB-GUI über einen separaten Apache vHOST ansprechen wollen deaktivieren wir als erstes die mitgelieferte Apache Konfigurationsdatei //**/etc/httpd/conf.d/apcupsd.conf**// in dem wir alle Zeilen auskommentieren. Die installation und Konfiguration des **//[[centos:web_c7:apache_1|Apache httpd, "der" WEB-Server unter CentOS 7.x]]//** sowie die Konfiguration //**[[centos:web_c7:apache_2|SSL gesicherter Webserver mit mod_ssl für Apache httpd 2.4 unter CentOS 7.x]]**// werden entsprechend vorausgesetzt.+Da wir die WEB-GUI über einen separaten Apache vHOST ansprechen wollen deaktivieren wir als erstes die mitgelieferte Apache Konfigurationsdatei //**/etc/httpd/conf.d/apcupsd.conf**// in dem wir alle Zeilen auskommentieren.  
 + 
 +Die Installation und Konfiguration des **//[[centos:web_c7:apache_1|Apache httpd, "der" WEB-Server unter CentOS 7.x]]//** sowie die Konfiguration //**[[centos:web_c7:apache_2|SSL gesicherter Webserver mit mod_ssl für Apache httpd 2.4 unter CentOS 7.x]]**// werden entsprechend vorausgesetzt.
    # vim /etc/httpd/conf.d/apcupsd.conf    # vim /etc/httpd/conf.d/apcupsd.conf
 <file apache /etc/httpd/conf.d/apcupsd.conf>## <file apache /etc/httpd/conf.d/apcupsd.conf>##
Zeile 1077: Zeile 1079:
     Header always set Public-Key-Pins "pin-sha256=\"nMiOpb6vUnjCoWCkPkDaG4ND8SNWzFTsQf2ZfruLno0=\"; pin-sha256=\"INhxSQ38nCS6ijaAAyo4xAhAZj9xeL3Xaak+GGiM2fo=\"; max-age=2592000; report-uri=\"https://nausch.report-uri.io/r/default/hpkp/enforce\""     Header always set Public-Key-Pins "pin-sha256=\"nMiOpb6vUnjCoWCkPkDaG4ND8SNWzFTsQf2ZfruLno0=\"; pin-sha256=\"INhxSQ38nCS6ijaAAyo4xAhAZj9xeL3Xaak+GGiM2fo=\"; max-age=2592000; report-uri=\"https://nausch.report-uri.io/r/default/hpkp/enforce\""
 </VirtualHost></file> </VirtualHost></file>
-===== old stuff ===== 
-   # vim /etc/httpd/conf.d/vhosts.conf 
- 
-<file apache /etc/httpd/conf.d/vhosts.conf>... 
- 
-# 
-# power.nausch.org 
-# 
-<VirtualHost *:80> 
-        ServerAdmin webmaster@nausch.org 
-        ServerName power.nausch.org 
-        ServerAlias www.power.nausch.org 
-        ServerPath / 
-        DocumentRoot "/var/www/apcupsd" 
-        AddHandler cgi-script .cgi 
-        <Directory "/var/www/apcupsd"> 
-                Options FollowSymLinks 
-                AllowOverride all 
-                Order Allow,Deny 
-                Allow from all 
-                Options ExecCGI 
-        </Directory> 
-        AddType application/x-httpd-php .php 
-        DirectoryIndex multimon.cgi 
-        ErrorLog logs/power_error.log 
-        CustomLog logs/power_access.log combined 
-</VirtualHost> 
- 
-... 
-</file> 
- 
-{{ :centos:apcupsd.png?direct&500 |Bildschirmhardcopy: APC UPS Daemon}} 
- 
- 
- 
- 
  
  • centos/apc.txt
  • Zuletzt geändert: 22.07.2019 14:52.
  • von 127.0.0.1