.htaccess modx HTX访问链接不工作

.htaccess modx HTX访问链接不工作,.htaccess,modx-revolution,.htaccess,Modx Revolution,你好,MODx开发者 I am using MODx revolution. I have just transferred site from one domain to another. as it was a IP based server i have created virtual host with the same name it had previously. On previous server the files were located at the root but i

你好,MODx开发者

I am using MODx revolution. I have just transferred site from one domain to another. as it was a IP based server i have created virtual host with the same name it had previously. 
On previous server the files were located at the root but in new server files are located at tab3, so i have created virtual host that points inside that directory. ie. I have all files in modx/ dir so my virtual host config set to /var/www/modx/
Now the problem is whenever i open home page as well as subdomains (contexts) it works and shows the page but when i open any internal links it says 404 page
如果我打开www.abc.com=> 但是当我打开www.abc.com/contacts=>时,它不起作用

我看到了.htaccess的问题,因为 1如果我删除htaccess 所有的子域和域都工作得很好,但是像abc.com/contact这样的内部链接并没有打开,而是显示404 2如果我再次添加它,只有主域及其内部链接打开…没有子域或子域的内部链接工作

还有一件事…线索是 当我尝试访问相同的404页面时,ID如下 www.abc.com/index.php?id=8056

它起作用了


我是否需要从htaccess中添加/删除某些内容???

新服务器是否运行Apache?在服务器运行Zeus时,我遇到了类似的问题&因此.htaccess无法工作。有一个解决方案,但对我来说太先进了。更容易安装在Apache服务器上。

得到了解决方案:配置很少出错……感谢您查看。