I am currently trying to setup a preexisting Wordpress site on my Mac, the site uses the FoundationPress theme framework for Wordpress. I have realized that an SSL connection is required for some reason because when I try to run
asl run watch
in the theme directory to boot the Wordpress site on localhost it switches to and Chrome throws the following error:
This site can’t be reached localhost unexpectedly closed the connection.ERR_CONNECTION_CLOSED
I am assuming some plugin requires an SSL connection although I'm not quite sure which one because I am new to the site. I have the whole site structure and database on my Mac. I have setup a Virtual Host in my Apache httpd-vhosts.conf file:
<VirtualHost localhost:443> DocumentRoot "/path/to/site/directory" ServerName localhost SSLEngine on SSLCertificateFile "/private/etc/apache2/server.crt" SSLCertificateKeyFile "/private/etc/apache2/server.key"</VirtualHost>
I also did all of the necessary certificate configurations. However I get a 403 forbidden page when trying to load the site. All of the permissions to the directory are set to 755 I don't know why I am getting a forbidden page?
Also when I run
asl run watch
it automatically boots the site onto localhost:3000 however I can't seem to setup the Virtual Host to load under that url. This isn't a huge deal but would be nice, I tried just adding localhost:3000 to the Virtual Host entry instead of localhost but that doesn't seem to work.
Any help would greatly appreciated!