Blog / Taxonomy image, views, getimagesize 401 error

I created a view today with a taxonomy_image field, which complained with a 401 Authorization Required error, something like this:

getimagesize failed to open stream: HTTP request failed! HTTP/1.1 401 Authorization Required

Took a hint from here: http://drupal.org/node/518794

Because our site is behind .htpasswd during devel, we need to add the following to the virtual host settings, which allows apache to access the directory: 

<Directory "/path_to_drupal/sites/default/files">
Allow from all
Satisfy Any
</Directory>

 

Leave a comment

(If you're a human, don't change the following field)
Your first name.
(If you're a human, don't change the following field)
Your first name.
(If you're a human, don't change the following field)
Your first name.

Sign up for updates