2012-01-19 32 views
0

有一个很奇怪的问题,我希望你能帮助我。Drupal 6网站不显示图像链接

Apache日志中没有错误。我正在运行一个Drupal6站点,只有少数图片无法显示。

该网站的网址被配置为一个子域,即在网站,目录domain.com.insurance包含所有的Drupal文件,模块等

用Firebug其相对URL设置为:

/insurance/files/webfm/auth/insurance_profiles/profile4.jpg 

访问此文件会抛出一个drupal找不到页面。

回答

0

这里的问题是由开发者指定的URL。

相反的:

/insurance/files/webfm/auth/insurance_profiles/profile4.jpg 

正确的网址是:

/insurance/sites/insurance/files/webfm/auth/insurance_profiles/profile4.jpg 

多数民众赞成它,希望它有助于:)