0
有沒有辦法免除任何請求到mod_rewrite中的子域名?現在,我有一個將頁面重定向到index.html的單頁應用程序。mod_rewrite:不要重寫任何子域名
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !index
RewriteRule (.*) index.html [L]
</IfModule>
但我要確保調用subdomain.mydomain.com永久被重寫豁免。