Apache重写-重新路由除此url之外的所有请求
我试图在我的服务器上设置mod_状态,但出现了一个空白页面:Apache重写-重新路由除此url之外的所有请求,apache,Apache,我试图在我的服务器上设置mod_状态,但出现了一个空白页面: <Location /server-status> SetHandler server-status Order deny,allow Deny from all Allow from all </Location> 谢谢你的帮助,没关系,我想出来了 我改变了这一点: RewriteCond %{REQUEST_FILENAME}
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from all
</Location>
谢谢你的帮助,没关系,我想出来了 我改变了这一点:
RewriteCond %{REQUEST_FILENAME} !^/server-status/$
为此:
RewriteCond %{REQUEST_URI} !^/server-status
RewriteCond %{REQUEST_FILENAME} !^/server-status/$
RewriteCond %{REQUEST_FILENAME} !^/server-status/$
RewriteCond %{REQUEST_URI} !^/server-status