-
Notifications
You must be signed in to change notification settings - Fork 401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Public access Resource problem from directory /vendor #586
Comments
You could do your own route "bypass", look how others have done it |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uur vendor directory is protected by htaccess so package resource.
Is there a way to better way to display debugbar resource without pointing to vendor folder ?
We add this in root folder .htaccess to bypass:
# protect vendor/composer RewriteRule ^composer\.(lock|json)$ / [F,L] RewriteCond %{REQUEST_URI} !^/vendor/maximebf/debugbar/src/DebugBar/Resources RewriteRule ^vendor/(.*)?$ / [F,L]
The text was updated successfully, but these errors were encountered: