I am facing a problem, the mapping of my site looks like this:
- app
- bootstrap
- public_html
- archives
- css
- js
index.php
- vendor
composer.json
etc...
My .htaccess is located in public_html. I want to skip the directory public_html/archives from the whole framework. How would I do that? I want the route mysite.com/archives to be accessible outside Laravel.
Edit: Here is my htaccess file
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
# Redirect Trailing Slashes...
RewriteCond %{REQUEST_URI} "/public/archives/" <--- ADDED!
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
.htaccessLaravel doesn't run on requests to files or directories that actually exist..htaccessfile. Have you made in changes to the file?