0

我试图得到它,这样文件夹内的任何东西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

4

1 回答 1

0

建议这样做:

    <Directory /min>
         RewriteEngine Off
    </Directory>

...或类似的东西

于 2013-04-08T05:52:04.573 回答