これは現在の.htaccessファイルです。このファイルは自分のサイトのルートディレクトリにあります。 私は普通の英語で次のことを行うルールを追加したいと思います。Helicon ISAPI rewrite v3.0を使用してディレクトリ全体をスキップ
が完全に http://www.sc-pa.com/dr405/* ためのルールの処理を遮断してください。 *
RewriteEngine On
RewriteBase/
RewriteCond %{HTTP_HOST} (www.sarasotaproperty.net|www.sc-pa.net|sc-pa.net|sarasotaproperty.net) [nc]
#RewriteRule ^(.*)$ http://www.sc-pa.com/$1 [R=301,NC,QSA]
RewriteRule (.*)/eurl\.axd/[0-9a-f]+ /$1 [L]
RewriteMap lc int:tolower
RewriteCond %{REQUEST_URI} [A-Z]
RewriteCond %{REQUEST_URI} !.*(js|css|inc|jpg|gif|png)
RewriteRule (.*) ${lc:$1} [R=301]
RewriteCond %{REQUEST_URI} !.*(web_content/pdf/|/dr405/).*
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule (?!.*/web_content/pdf/)([^/]*?\.pdf) /web_content/pdf/$1 [R=301]
RewriteRule pasite-(.*\.asp)$ /content/$1 [R=301,QSA]
RewriteRule home\.asp$/[R=301]
#RewriteRule ^search/tpp/?$ content/search_tangible.asp
#RewriteRule ^search/?$ content/search_real_property.asp
#RewriteRule ^downloads/?$ content/downloads.asp
#RewriteRule ^(.*?view)/([^/]*)/([^/]*)(/.+)? /search/parcel_detail.asp?account=0&$2=$3 [NC,LP,QSA,R=301]
これは古い質問です。しかし、私は実際にこれに再び取り組んでいます。このソリューションは機能していないようです。私のrewrite.logファイルには、Directoryディレクティブのアプローチを使用すると、まだ適用されているすべてのルールが表示されます。 (私が好む) –