H-Sphere Documentation Sysadmin Guide

 

Restarting Web Server

 

Last modified: 08 Aug 2006

 

To restart Web server, login as root and execute the following command:

# /etc/rc.d/init.d/httpd stop
# sleep 10
# /etc/rc.d/init.d/httpd start

To restart Web server under FreeBSD, run the following command:

# /usr/local/etc/rc.d/apache.sh restart

FTP is restarted with these commands:

# /etc/rc.d/init.d/proftpd stop
# sleep 1
# /etc/rc.d/init.d/proftpd start

To restart FTP under FreeBSD, run the following command:

# /usr/local/etc/rc.d/proftpd restart



© Copyright 1998-2008. Positive Software Corporation.
All rights reserved.