Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung Nächste Überarbeitung | Vorherige Überarbeitung | ||
fortgeschrittene:apache_module [2014/07/01 14:04] ingo_wichmann |
fortgeschrittene:apache_module [2022/12/02 12:43] (aktuell) ingo_wichmann |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | ===== Apache Konfiguration ausgeben ===== | + | ===== mod_info: Apache Konfiguration ausgeben ===== |
openSuSE (12.3): | openSuSE (12.3): | ||
zypper install html2text | zypper install html2text | ||
a2enmod info | a2enmod info | ||
service apache2 restart | service apache2 restart | ||
- | wget -O - http://localhost/server-info?config | html2text | egrep -i 'VirtualHost|Directory|In file|Location|Files' | sed 's/^[^:]*:\(.*\)/\1/' | + | wget -O - http://localhost/server-info?config | html2text | grep -Ei 'VirtualHost|Directory|In file|Location|Files' | sed 's/^[^:]*:\(.*\)/\1/' |
openSuSE (ab 13.1): | openSuSE (ab 13.1): | ||
Zeile 13: | Zeile 13: | ||
a2enmod info | a2enmod info | ||
apache2ctl graceful | apache2ctl graceful | ||
- | wget -O - http://localhost/server-info?config | html2text | egrep -i 'VirtualHost|Directory|In file|Location|Files' | sed 's/^[^:]*:\(.*\)/\1/' | + | wget -O - http://localhost/server-info?config | html2text | grep -Ei 'VirtualHost|Directory|In file|Location|Files' | sed 's/^[^:]*:\(.*\)/\1/' |
===== Aktivieren / Deaktivieren von Modulen ===== | ===== Aktivieren / Deaktivieren von Modulen ===== |