Apache permissions based on querystring

前端 未结 3 867
深忆病人
深忆病人 2020-12-10 13:13

I have an apache server where authentication is required, but there are some calls that need to be allowed for all.

On off these calls is based on a query string for

3条回答
  •  情书的邮戳
    2020-12-10 13:48

    we can't use , is not supported by < apache 2.4

    RewriteEngine On

    RewriteCond %{QUERY_STRING} test=ok

    RewriteRule ^/ - [E=checkParamTest:1]

    Order allow,deny Allow from env=checkParamTest Satisfy any

    AuthType openid-connect Require valid-user ...

提交回复
热议问题