0

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 を開いた場合 => 動作しません

1) htaccess を削除すると、すべてのサブドメインとドメインが完全に機能しますが、「abc.com/contact」などの内部リンクが開かず、404 と表示されるため、.htaccess で問題が発生します。2) メイン ドメインのみを再度追加すると、その内部リンクが開きます...サブドメインまたはサブドメインの内部リンクは機能しません

もう1つ....手がかりは、このwww.abc.com/index.php?id=8056のようなIDで同じ404ページにアクセスしようとしたときです。

できます

htaccess から何かを追加/削除する必要がありますか??

4

1 に答える 1

0

新しいサーバーは Apache を実行していますか? サーバーが Zeus を実行しているため、.htaccess が機能しないという同様の問題がありました。解決策はありますが、私には高度すぎました。代わりに、Apache サーバーにインストールする方が簡単でした。

于 2011-12-30T12:28:14.810 に答える