开发者

Add a custom http header to subdirectories

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜