为什么“Mod Alias”做一个redirect循环?

我的configuration:

AliasMatch /browzerResources "/srv/default/browzerResources" <Directory "/srv/default/browzerResources"> Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all </Directory> </IfModule> 

在Web浏览器中创build一个redirect循环,如下所示:

 http://example.com/browzerResources/index.htm/index.htm/index.htm/index.htm/index.htm/etc... 

任何想法为什么这样做?

因为你的AliasMatch将匹配任何东西,包括指定的path。 我的猜测是你想要使用别名

 Alias /browzerResources /srv/default/browzerResources