2011-10-03 50 views
0

你好镆铘开发商,镆铘htaccess的链接不工作

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)如果我再次添加它只有主域和其内部链接打开...没有子域或子域的内部链接工作

一件事....和线索就是 当我尝试用ID来访问相同的404页,这样 www.abc.com/index.php?id=8056

它的工作原理

我需要添加/删除某些东西从htaccess?

+0

得到了解决方案:)有一点小姐配置...感谢您寻找。 –

回答

0

新服务器是否运行Apache?我有一个类似的问题,运行Zeus &服务器因此.htaccess没有工作。有一个解决方案,但对我来说太高级了。相反,更容易安装在Apache服务器上。