All pastes #925056 Raw Edit

Unnamed

public text v1 · immutable
·published 2008-03-01 23:03 UTC
rendered paste body
# check if prompt is empty
# check if vhost.conf already exist if not make it, else overwrite it
echo "maak of wijzig vhost.conf /var/www/vhosts/$1/conf/vhost.conf";
# copy content to vhost.conf
# reconfigure apache
service psa stop
service psa start
apachectl stop
apachectl start