我在同一个域上有两个不同的站点,例如: 根目录中的第一个站点http://example.com/ 子文件夹中的第二个站点http://example.com/site2/ 每个站点都有自己的 .htaccess 当我进入第二个站点(http://example.com/site2/),在 mod_rewrite 的日志中,我看到 apache 试图执行第一个站点(http://example.com/)的.htaccess 。 那么,问题是如何防止这种情况发生?谢谢
apache .htaccess mod-rewrite
.htaccess ×1
apache ×1
mod-rewrite ×1