Answers.Body: <p>Fixed by doing the following commands:</p>
  
  <pre><code>chown -R www-data:www-data /var/www
  service apache2 restart
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-04-15T13:49:02.727Z
Answers.LastActivityDate: 2017-04-15T13:49:02.727Z
Answers.UserDisplayName: JMKelley
Body: <p>Currently trying to load an asset located in the following branch of my install:</p>
  
  <ul>
  <li>Craft
  
  <ul>
  <li>html
  
  <ul>
  <li>uploads</li>
  </ul></li>
  </ul></li>
  </ul>
  
  <p>Unfortunately when I try to head directly to a specific asset I get the following error message from Craft:</p>
  
  <pre><code>You don't have permission to access /uploads/students/universities/giphy.gif on this server.
  Server unable to read htaccess file, denying access to be safe
  </code></pre>
  
  <p>I've set the following on the uploads folder</p>
  
  <pre><code>chmod 774 /var/www/html/
  </code></pre>
  
  <p>My site is on DigitalOcean.</p>
  
  <p>Any help would be brilliant </p>
  
Tags: <assets><deployment>
Title: Can't load assets or upload assets
ThreadText: # Can't load assets or upload assets
  
  (Asked by: username_0 on 2017-04-15)
  
  Currently trying to load an asset located in the following branch of my install:
  
  * Craft
    + html
      - uploads
  
  Unfortunately when I try to head directly to a specific asset I get the following error message from Craft:
  
  ```
  You don't have permission to access /uploads/students/universities/giphy.gif on this server.
  Server unable to read htaccess file, denying access to be safe
  
  ```
  
  I've set the following on the uploads folder
  
  ```
  chmod 774 /var/www/html/
  
  ```
  
  My site is on DigitalOcean.
  
  Any help would be brilliant
  
  **Tags:** assets, deployment
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2017-04-15. Score: 1 | Accepted answer
  
  Fixed by doing the following commands:
  
  ```
  chown -R www-data:www-data /var/www
  service apache2 restart
  
  ```
  
  
  ---
  
  