Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Restart Apache web server in Mac OSX

Answer:

Open the terminal, and type

sudo apachectl -k restart

To stop it, type

sudo apachectl -k stop

To start it, type

sudo apachectl -k start

  1. Apache restart explained
  2. How to restart Apache without disconnecting user
  3. Disable X-Powered-By and Server headers in Apache/PHP
  4. Enable Server Side Includes in Apache
  5. Limit Apache only listen to IPv4 address

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>