Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/apache/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在apache 1.3上模拟用于重写的apache cookie标志_Apache_Mod Rewrite_Cookies - Fatal编程技术网

如何在apache 1.3上模拟用于重写的apache cookie标志

如何在apache 1.3上模拟用于重写的apache cookie标志,apache,mod-rewrite,cookies,Apache,Mod Rewrite,Cookies,我使用带有mod|u rewrite的Apache 1.3,它不支持用于重写的cookie | CO标志。下面的代码在Apache2.0中运行良好 # Works fine with Apache 2.0 RewriteRule ^/$ http://www.example.com/rs/ [CO=name:value:.example.com:240:/,R=301] 有没有办法在Apache1.3中实现同样的功能 我可以使用: Header set Set-Cookie "name=val

我使用带有mod|u rewrite的Apache 1.3,它不支持用于重写的cookie | CO标志。下面的代码在Apache2.0中运行良好

# Works fine with Apache 2.0
RewriteRule ^/$ http://www.example.com/rs/ [CO=name:value:.example.com:240:/,R=301]
有没有办法在Apache1.3中实现同样的功能

我可以使用:

Header set Set-Cookie "name=value; path=/; domain=.examplle.com"
是否仅在重写规则匹配时添加cookie