# ---------------------------------------------------------------------------
echo "Updating etc/rc.config..."
if [ -x bin/fillup ] ; then
bin/fillup -q -d = etc/rc.config var/adm/fillup-templates/rc.config.apassl
else
echo "ERROR: fillup not found. This should not happen. Please compare"
echo "etc/rc.config and etc/rc.config.apassl and update by hand."
fi
mkdir -p var/log
touch var/log/httpsd.access_log
touch var/log/httpsd.error_log
if test -e httpd; then
mkdir -p var/adm/notify/messages
cat << EOT > var/adm/notify/messages/apassl-changes
Hi,
die Apache-Konfiguration hat sich (wiedermal...) veraendert. Die
den Server betreffenden Dateien finden sich jetzt in folgenden
Verzeichnissen:
/etc/httpsd -> Konfigurationsdateien
/var/log -> Protokolldateien
/var/run/httpsd.pid -> PID des Servers
/usr/local/httpsd -> Server-Root
/sbin/init.d/apassl -> Start/Stop-Skript
The Apache-Configuration has changed. Please look into these directories
to find server related files:
/etc/httpsd -> Configfiles
/var/log -> Logfiles
/var/run/httpsd.pid -> Server-PID
/usr/local/httpsd -> Server-Root
/sbin/init.d/apassl -> Start/Stop-Script
Ciao,
BB
EOT
fi
if [ ! -f usr/local/httpsd/htdocs/index.html ] ; then
echo "installing example page..."
cat << EOT > usr/local/httpsd/htdocs/index.html
Apache HTTP/SSL Server - Beispielseite
Der Apache WWW Server
Diese Seite soll nur als Beispiel dienen.
Die Dokumentation zum Server finden Sie hier.
Dokumentation zu PHP3 ist hier.
Das S.u.S.E. Hilfesystem finden Sie (insofern installiert) hier: Deutsch Englisch.
Weitere Infos zu Apache und SSL finden Sie unter den folgenden (nicht lokalen)
Hyperlinks:
EOT
fi
# ---------------------------------------------------------------------------