Answers.Body: <p>Your Asset source file system path needs to be under your <code>public_html</code> folder, so your 2nd example is correct: <code>/home/hostingaccount/public_html/files</code>.</p>
  
  <p>Then your corresponding Asset source URL would be <code>http://mydomain.com/files</code>.</p>
  
  <p>Correct that, then Asset related functionality (including Redactor's) should start working.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-07-01T05:42:36.420Z
Answers.LastActivityDate: 2015-07-01T05:42:36.420Z
Answers.UserDisplayName: Brad Bell
Body: <p>I love that Redactor lets you choose existing entries, categories, and assets!</p>
  
  <p>I am trying to set up a 'Files' source whose File System Path would be something like </p>
  
  <pre><code>/home/hostingaccount/craft/files
  </code></pre>
  
  <p>where index.php is at </p>
  
  <pre><code>/home/hostingaccount/public_html/index.php
  </code></pre>
  
  <p>But what source URL can point to that file location? It doesn't like <code>http://mydomain.com/files</code>. Or am I all wrong, and the assets have to be in something like this:</p>
  
  <pre><code>/home/hostingaccount/public_html/files
  </code></pre>
  
Tags: <assets><url><filesystem>
Title: Do assets have to be below public_html to access them in redactor?
ThreadText: # Do assets have to be below public_html to access them in redactor?
  
  (Asked by: username_0 on 2015-06-30)
  
  I love that Redactor lets you choose existing entries, categories, and assets!
  
  I am trying to set up a 'Files' source whose File System Path would be something like
  
  ```
  /home/hostingaccount/craft/files
  
  ```
  
  where index.php is at
  
  ```
  /home/hostingaccount/public_html/index.php
  
  ```
  
  But what source URL can point to that file location? It doesn't like `http://mydomain.com/files`. Or am I all wrong, and the assets have to be in something like this:
  
  ```
  /home/hostingaccount/public_html/files
  
  ```
  
  **Tags:** assets, url, filesystem
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-07-01. Score: 3 | Accepted answer
  
  Your Asset source file system path needs to be under your `public_html` folder, so your 2nd example is correct: `/home/hostingaccount/public_html/files`.
  
  Then your corresponding Asset source URL would be `http://mydomain.com/files`.
  
  Correct that, then Asset related functionality (including Redactor's) should start working.
  
  
  ---
  
  