开发者

Add a custom http header to subdirectories

开发者 https://www.devze.com 2022-12-10 10:57 出处:网络
Here is the code I am using cscript adsutil.vbs set w3svc/1/ROOT/Test/css/HttpCustomHeaders \"Cache-Control: max-age=36000\"

Here is the code I am using

cscript adsutil.vbs set w3svc/1/ROOT/Test/css/HttpCustomHeaders "Cache-Control: max-age=36000"

When I use it an error appears The path requested could not be found. ErrNumber: -21470开发者_开发问答24893 (0x80070003) Error Trying To Get the Object: w3svc/1/ROOT/Test/css w3svc/1/ROOT/Test is the virtual directory

I want to apply my script to subdirectory CSS The question I have is it possible to apply to a subdirectory.

0

精彩评论

暂无评论...
验证码 换一张
取 消