我试图得到它,这样文件夹内的任何东西min
都不会得到我的重写规则。
# Dispatcher wiring
#Add to stop the rules applying to the minify rules
RewriteRule ^min - [L,NC]
RewriteCond %{REQUEST_URI} !dispatch\.php$
RewriteCond /var/www/sexdiaries.co.uk/docroot%{REQUEST_FILENAME} !-f
RewriteRule ^(/.*)$ /dispatch.php?url=$1 [L,QSA]
RewriteRule ^x\.!dispatch\.php([^b]+)!dispatch\.php$ !dispatch\.php [L,NE]
该文件夹min
位于文件夹的根目录,因此:/var/www/sexdiaries.co.uk/min