有一个非常奇怪的问题,我希望你可以帮助我。
Apache日志中没有错误。我正在运行一个Drupal6站点,只有少数图像无法显示。
网站的网址配置为子网域,即在网站中,目录domain.com.insurance包含所有drupal文件,模块等。
使用Firebug将其相对URL设置为:
/insurance/files/webfm/auth/insurance_profiles/profile4.jpg
访问此文件会抛出一个drupal not found页面。
答案 0 :(得分:0)
这里的问题是开发人员指定的URL。
而不是:
/insurance/files/webfm/auth/insurance_profiles/profile4.jpg
正确的网址是:
/insurance/sites/insurance/files/webfm/auth/insurance_profiles/profile4.jpg
多数民众赞成,希望它有所帮助:)