Closed taylorren closed 5 years ago
Managed to work around this.
ignore
must be working with path
. Now my configuration goes like this:
'path'=>"/",
"ignore"=>['/hello','/doc'],
I sacrificed http://api
to be redirected. Still not fully satisfied.
Hi,
I just installed this middleware and would like to seek your support on configuring
path
andignore
in such circumstances.I am using Slim.
http://api/
will direct to my API doc, no authenticationhttp://api/hello
will prompt some explanation, no authenticationhttp://api/a/b
orhttp://api/a/b/c
, etc are the API invokation, need authentication.a
,b
,c
above will be different for various API calls.Thanks!