+ Reply Thread
To restart apache server
$ sudo apachectl restart

To check the configuration of apache
$  sudo apachectl configtest

To be continued
Creating certificates for SSL on MAC
$ cd /usr/local/etc/httpd $ openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout server.key -out server.crt
This way you can do stuffs like:
<VirtualHost *:443> DocumentRoot "/Users/your_user/Sites" ServerName localhost SSLEngine on SSLCertificateFile "/usr/local/etc/httpd/server.crt" SSLCertificateKeyFile "/usr/local/etc/httpd/server.key" </VirtualHost>
i truly love this very much and so i say hurray!!
Back to top