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:51. ] – [Konfiguration] djangocentos:apc [09.01.2017 10:04. ] – [Konfiguration] django
Zeile 1079: 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}} 
  
 +Bevor wir zur Aktivierung unserer Konfigurationsänderungen den bzw. die HTTP-Daemon einmal durchstarten überprüfen wir unsere Apache-Konfigurationsdateien auf syntaktische Fehler.
 +   # apachectl -t
  
 +  Syntax OK
  
 +Ist alles O.K. starten wir den/die Daemon nun einmal neu.
 +   # systemctl restart httpd.service
  
 +● httpd.service - The Apache HTTP Server
 +   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
 +   Active: active (running) since Mon 2017-01-09 11:03:23 CET; 48s ago
 +     Docs: man:httpd(8)
 +           man:apachectl(8)
 +  Process: 11642 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/SUCCESS)
 + Main PID: 11647 (httpd)
 +   Status: "Total requests: 2; Current requests/sec: 0.1; Current traffic: 307 B/sec"
 +   CGroup: /system.slice/httpd.service
 +           ├─11647 /usr/sbin/httpd -DFOREGROUND
 +           ├─11648 /usr/sbin/httpd -DFOREGROUND
 +           ├─11649 /usr/sbin/httpd -DFOREGROUND
 +           ├─11650 /usr/sbin/httpd -DFOREGROUND
 +           ├─11651 /usr/sbin/httpd -DFOREGROUND
 +           ├─11652 /usr/sbin/httpd -DFOREGROUND
 +           └─11699 /usr/sbin/httpd -DFOREGROUND
  
 +Jan 09 11:03:23 vml000127.dmz.nausch.org systemd[1]: Starting The Apache HTTP Server...
 +Jan 09 11:03:23 vml000127.dmz.nausch.org systemd[1]: Started The Apache HTTP Server.
  • centos/apc.txt
  • Zuletzt geändert: 22.07.2019 14:52.
  • von 127.0.0.1