📜  apache php-fpm rewritte cookie sameSite - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:08.504000             🧑  作者: Mango

代码示例1
RewriteEngine on

  RewriteRule ^/test/(.*)$  /test/$1  [CO=cookie1:1;\ SameSite=none:.example.test:86400:/:true:true]
  RewriteRule ^/test/(.*)$  /test/$1  [CO=cookie2:$1;\ SameSite=none:.example.test:86400:/:true:true]

  RewriteRule ^/test/(.*)$ http://www.example.test/test2/$1 [R,L]