网站在浏览器中不可见,但代码已加载

时间:2013-02-26 13:39:30

标签: html apache .htaccess

这很奇怪。我将我的网站复制到子域名。在主域工作正常,但在子域只是代码加载(我可以检查View Source),但页面没有显示。

Chrome或Firefox中没有错误消息......

这是.htaccess文件:

RewriteEngine On

RewriteBase /
RewriteRule (.*)tiny_mce_popup\.js$ /d_text.cgi?act=tiny_mce_popup.js [L]
RewriteRule (.*)sitemap\.xml$ /d_text.cgi?act=sitemap.xml [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) /index.cgi?act=select&htmlfile=$1 [QSA]

有人遇到这个问题吗?

2 个答案:

答案 0 :(得分:0)

需要删除Google Analytics跟踪代码。

答案 1 :(得分:0)

您应该替换代码 从

RewriteBase /

RewriteBase /SUB-DOMAIN-FOLDER-NAME/
相关问题