Enable PHP Apache2

You can use a2enmod or a2dismod to enable/disable modules by name. From terminal, run: sudo a2enmod php5 to enable PHP5 (or some other module), then sudo service apache2 reload to reload the Apache2 configuration

htaccess – Redirect to subfolder without changing browser URL

Sorry, just realised what is happening. It has nothing to do with the second .htaccess file in the subdirectory, as mentioned in comments. Since public is a physical directory on the file system, you need to include a trailing slash when internally rewriting to that directory. Otherwise, mod_dir is going to try to “fix” the … Read more

SSL error SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

The file that you downloaded (http://curl.haxx.se/ca/cacert.pem) is a bundle of the root certificates from the major trusted certificate authorities. You said that the remote host has a self-signed SSL certificate, so it didn’t use a trusted certificate. The openssl.cafile setting needs to point to the CA certificate that was used to sign the SSL certificate … Read more

What is Options +FollowSymLinks?

You might try searching the internet for “.htaccess Options not allowed here”. A suggestion I found (using google) is: Check to make sure that your httpd.conf file has AllowOverride All. A .htaccess file that works for me on Mint Linux (placed in the Laravel /public folder): Hope this helps you. Otherwise you could ask a … Read more