Thursday, August 28, 2014

Drupal 7.3x and Virtualmin GPL Issues

What happened:

I created a new virtual host and managed it using Virtualmin GPL. Uploaded Drupal 7.31 to the document root and got an internal server error 500.

I investigated the apache error logs and found out this line on tail

.htaccess: Option FollowSymLinks not allowed here

Solution:

Edited .htaccess and changed

Options +FollowSymLinks

Option +SymLinksIfOwnerMatch

It's working now but I'm not sure of the performance impacts as stat-ing the file is theoretically slower now.

Tuesday, August 12, 2014

How do I set a system-wide proxy in Ubuntu 14.04 using the terminal screen?

Set the following environment variables: 
 
export http_proxy=http://proxy2.somedomain.com:8080
export https_proxy=http://:proxy2.somedomain.com:8080