title: Laravel asset file 404
body: <p>I upload new file on my server in <code>public\js\</code> folder. But I can't access it - 404 error. All other files in folder is fine. I can open it. But if I rename one of this files (for example file named <code>test.js</code> and I can access it) to other name (<code>test.js</code> to <code>test2.js</code>) - I'v got 404 error.</p>
  
  <pre><code>https://some/js/app.js - work fine
  rename `app.js` to `app2.js`
  https://some/js/app2.js - 404 error
  </code></pre>
  
  <p>Is Laravel 5.5 store names of allowed to access files? How can I fix it?  </p>
  
  <p>Before renaming</p>
  
  <pre><code>ls -l
  total 692
  drwxr-xr-x 3 chipikby chipikby   4096 Aug 30 22:17 ./
  drwxr-xr-x 9 chipikby chipikby   4096 Aug 30 21:50 ../
  -rw-r--r-- 1 chipikby chipikby  15666 Jun 13 16:11 Sortable.min.js
  -rw-r--r-- 1 chipikby chipikby  19983 Aug 30 22:17 app.js
  -rw-r--r-- 1 chipikby chipikby 195881 Jun 13 16:11 libraries.js
  -rw-r--r-- 1 chipikby chipikby 459664 Aug 30 21:36 new.js
  drwxr-xr-x 6 chipikby chipikby   4096 May 22 12:01 tinymce/
  </code></pre>
  
  <p>app.js to app2.js </p>
  
  <pre><code>ls -l
  drwxr-xr-x 3 chipikby chipikby   4096 Aug 30 22:28 ./
  drwxr-xr-x 9 chipikby chipikby   4096 Aug 30 21:50 ../
  -rw-r--r-- 1 chipikby chipikby  15666 Jun 13 16:11 Sortable.min.js
  -rw-r--r-- 1 chipikby chipikby  19983 Aug 30 22:17 app2.js
  -rw-r--r-- 1 chipikby chipikby 195881 Jun 13 16:11 libraries.js
  -rw-r--r-- 1 chipikby chipikby 459664 Aug 30 21:36 new.js
  drwxr-xr-x 6 chipikby chipikby   4096 May 22 12:01 tinymce/
  </code></pre>
  
  <p><strong>Solved.</strong> </p>
  
  <p>On server all laravel files stored on home derectory with public folder. BUT (i don't know why) they are not in use. I need store asset files at other folder (not laravel project folder). Very strange...</p>