在子域上configurationApache / WordPress的问题

我有两个服务器(一个LAMP,一个Windows)和一个网站和一个关联的博客。 我正在使用Wordpress运行Windows服务器上的主站点以及LAMP服务器上的博客。 主要网站访问http://folketsting.dk (这是丹麦语 – 抱歉),博客访问http://blog.folketsting.dk (这个链接是坏的,阅读)。

主站点工作正常。 博客的作品,除了首页。 工作岗位示例: http : //blog.folketsting.dk/2009/10/09/ftlive/ 。 博客( http://blog.folketsting.dk )的首页显示的是http://folketsting.dk中的html(除了CSS和javascript)。 实际上,除了FrontPage之外的其他任何URL都可以“工作”,并且可以通过Wordpress获取,例如http://blog.folketsting.dk/foo 。

我不能 – 在我的生活中 – 了解运行http://blog.folketsting.dk的LAMP服务器如何pipe理由运行http://folketsting.dk的Windows服务器生成的内容。 查看http://blog.folketsting.dk上的响应头文件,很明显内容来源于Apache,而不是IIS。

我很确定这不是DNS问题,因为即使访问原始IP,问题也是显而易见的,例如。 http://130.226.142.141/与http://130.226.142.141/foo 。 我认为这是在Apache的一个不好的configuration…任何线索?

更新:根据要求,这里是非工作站点的Apacheconfiguration文件。 顺便说一句,另一个WordPress的博客是在服务器上运行(虽然不是在一个子域),并没有performance出这个怪癖。

<VirtualHost *:80> ServerAdmin webmaster@localhost ServerName blog.folketsting.dk ServerAlias blog.folketsting.dk DocumentRoot /var/www/blog.folketsting.dk <Directory /> Options FollowSymLinks AllowOverride All </Directory> <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory "/usr/lib/cgi-bin"> AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory> ErrorLog /var/log/apache2/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /var/log/apache2/access.log combined Alias /doc/ "/usr/share/doc/" <Directory "/usr/share/doc/"> Options Indexes MultiViews FollowSymLinks AllowOverride None Order deny,allow Deny from all Allow from 127.0.0.0/255.0.0.0 ::1/128 </Directory> </VirtualHost> 

您在WordPress安装目录中的.htaccess文件中设置了哪些重写规则?

这可能是一个长期的,但它可能是一个[P]标志的规则。

问题原来是一个index.html文件在博客根目录中的HTML(我不知道它是如何到达那里…)。 感谢Jakob Andersen( http://intellect.dk/ )的build议。