-
-
Notifications
You must be signed in to change notification settings - Fork 162
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
.htaccess challenge #5
Comments
I'm using a Vagrant server and a Bedrock setup with WP installed aside with composer. |
Can you please tell me what Vagrant Image are you using to try to replicate the server on my local.. |
Oh, thanks! |
Do youwant me to make a provision setup? |
You can use this repo to get up and running quick: https://github.com/ekandreas/scotch-bedrock |
Perhaps #6 has something to do with my issue? |
Think there was a missunderstanding from my side. The API is open for every get request. I wanted to protect the whole WP-API from access. |
I'm concerned about the .htaccess configuration.
When using this statement everything works well, but also unauthenticated access is slipped through:
If I put a "last" in the rule, the pages is protected with 404, but then also the authenticated (with token) requests fails:
So I need som hint of what could go wrong and what to do.
Apache/2.4.12 (Ubuntu)
5.6.10-1+deb.sury.org~trusty+1
The text was updated successfully, but these errors were encountered: