Apache permissions based on querystring

前端 未结 3 868
深忆病人
深忆病人 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:50

    In Apache 2.4 there's an easier way to do this without the rewrite.

    You can use LocationMatch to match upto the QUERY_STRING, and then use an If block to match the contents of QUERY_STRING. i.e., something like this:

    
      
           Require all granted
      
    
    

提交回复
热议问题