Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTTP RESTART 1

Status
Not open for further replies.

linuxnewb00

Technical User
Sep 21, 2003
8
US
How can I stop/start HTTP on a linux server?
 
for restarting http service on linux

service httpd restart

httpd is the service which is handling the request for the web server. you can use
service httpd status
for checking the currently running service..
to add the httpd service in the run level you want..

chkconfig --level 235 httpd on



 
I am sure amit is right.
also you can do one more thing

/etc/init.d/httpd restart

Thanks
 
--or--
if you want to do more typing or shut HTTPD down for more than a few seconds:

/etc/rc.d/init.d/httpd stop
/etc/rc.d/init.d/httpd start

**note the difference between khurramriaz and myself may be due to different installs**

Cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top