我正试图让文件夹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
答案 0 :(得分:0)
会建议:
<Directory /min>
RewriteEngine Off
</Directory>
......或类似的东西