Restarting Web Server

 

To restart the 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 the 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



Home   Products   Services   News
© Copyright. . PSOFT. All Rights Reserved. Terms | Site Map