【发布时间】:2017-03-23 20:51:29
【问题描述】:
我输入的所有潜在 URI 都进入维护页面,除非在此处使用特定的 scwebadminapp URI https://servername.domain.com/scwebadminapp/index.html
我使用的规则是:
RewriteCond %{DOCUMENT_ROOT}/erp_maintenance.html -f
RewriteCond %{REQUEST_FILENAME} !/erp_maintenance.html
RewriteRule ^.*$ /erp_maintenance.html [L]
我试图理解编写第二个 RewriteCond 和 RewriteRule 来处理 RewriteCond %{REQUEST_URI} scwebadminapp ?
【问题讨论】:
标签: apache httpd.conf aix