+ Reply Thread
#1
To restart apache server
$ sudo apachectl restart

To check the configuration of apache
$  sudo apachectl configtest

To be continued
#2
Creating certificates for SSL on MAC
Code:
$ 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:
Code:
<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>
#3
i truly love this very much and so i say hurray!!
Back to top