title: How to use apache rewrite to rewrite all traffic from /admin/recurring/foobar/123 to /admin/recurring/public/foobar/123
body: <p>I just installed laravel into /admin/recurring
  but then I found out that all the goods are in public/
  How do I point all traffic coming into /admin/recurring/foo/bar/123
  to actually call the request to /admin/recurring/public/foo/bar/123</p>
  
  <p>Here is what I tried:</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
      RewriteEngine On
  
      #Checks to see if the user is attempting to access a valid file,
      #such as an image or css document, if this isn't true it sends the
      #request to index.php
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      #This last condition enables access to the images and css folders, and the robots.txt file
      RewriteCond $1 !^(index\.php|public|images|robots\.txt|css)
      RewriteRule ^(.*)$ public/index.php/$1 [L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>But this does not work. It gives me a Sorry, the page you are looking for could not be found. in Laravel 5.3</p>