Apache 2.2.X

Iš Žinynas.
Jump to navigation Jump to search

OpenBSD 4.3 diegimas[keisti]

cd /usr/ports/www/apache-httpd/ && make install

Visi konfiguraciniai failai /var/www/conf, www_root failai /var/www/htdocs Kuriame /etc/rc.apache failą ir į jį rašome

if [ -x /usr/sbin/httpd ] ; then
       su -c staff root -c '/usr/sbin/httpd >/dev/null 2>&1 &'
       echo -n ' apache'
fi

chmod +x /etc/rc.apache. Galima paleisti parašius /etc/rc.apache