2
我正在尋找像FilesNotMatch(像文件匹配,但是當正則表達式返回false時觸發),我該如何做這樣的事情?我正在執行此操作:Apache FilesNotMatch正則表達式?
<FilesMatch "/(log22.swf|packer.swf|sos.swf|e.swf|newBubbleSystem.swf|aeVisual.swf)$">
#Stuff here
</FilesMatch>
我正在尋找像FilesNotMatch(像文件匹配,但是當正則表達式返回false時觸發),我該如何做這樣的事情?我正在執行此操作:Apache FilesNotMatch正則表達式?
<FilesMatch "/(log22.swf|packer.swf|sos.swf|e.swf|newBubbleSystem.swf|aeVisual.swf)$">
#Stuff here
</FilesMatch>
FilesNotMatch是沒有必要的。只是
<FilesMatch "/!(log22.swf|packer.swf|sos.swf|e.swf|newBubbleSystem.swf|aeVisual.swf)$">
#Stuff here
</FilesMatch>