4 AP2CONFDIR
='/etc/opt/csw/apache2'
5 AP2_NINJA_CONF
="/etc/opt/csw/apache2/extra/ninja.conf"
9 /usr
/xpg
4/bin
/grep -q "Include $AP2_NINJA_CONF" $AP2CONFDIR/httpd.conf ||
echo "Include $AP2_NINJA_CONF" >> $AP2CONFDIR/httpd.conf
11 chown
-R monitor
:daemon
/opt
/monitor
12 chown
-R monitor
:daemon
/var
/www
/
14 # svcadm restart doesn't work, if service is not started
15 svcadm disable cswapache2
17 svcadm
enable cswapache2