Modx htaccess链接不工作



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"不打开,说4042)如果我再次添加它,只有主域名和它的内部链接打开…没有子域名或子域名的内部链接工作

还有一点....线索就是当我尝试访问相同的404页面与这样的IDwww.abc.com/index.php ? id = 8056

我需要从htaccess中添加/删除一些东西吗?

新服务器是否运行Apache?我有一个类似的问题,服务器正在运行宙斯&;因此。htaccess不能工作。有一个解决方案,但对我来说太先进了。在Apache服务器上更容易安装

最新更新