|
发表于 2005-6-5 08:36:07
|
显示全部楼层
来自 中国–云南–昆明
Post by itimagic
大家看看我的这个config.php文件,我曾经按照"Psychostats2.2.b调试、安装、使用帮助 "一文的方法修改过路径的,但是不行,我就改回来了.大家帮我看看,为什么显示不出图片来.
------------------------------------------------------------------------------------------------
// the 'root' options default to the current directory + '/images/*'
// You should not have to change these unless your images are in non-standard locations
$conf['statsroot'] = 'd:/apache/htdocs/';
$conf['imagesroot'] = 'd:/apache/htdocs/images/*';
$conf['weaponsroot'] = 'd:/apache/htdocs/images/weapons/*';
$conf['mapsroot'] = 'd:/apache/htdocs/images/map/*';
// The 'url' options default to the current directory + '/images/*'
// These settings define how files and images would appear to users browsing to your
// stats website (usually the same as the 'root' options without the document_root prefix)
// You should not have to change these unless your images are in non-standard locations
$conf['statsurl'] = '/htdocs/';
$conf['imagesurl'] = '/htdocs/images/*';
$conf['weaponsurl'] = '/htdocs/images/weapons/*';
$conf['mapsurl'] = '/htdocs/images/map/*';
------------------------------------------------------------------------------------------------
在apache的logs文件夹里面的error.log文件里有这样的提示,但是images下的图片都是有的.这样的提示应该是路径的问题,但是我真的不知怎么搞了,麻烦大家帮我看看是怎么回事.
------------------------------------------------------------------------------------------------
[Sat Jun 04 00:57:56 2005] [error] [client 192.168.0.240] File does not exist: d:/apache/htdocs/htdocs/images/weapons/cstrike_deagle.gif
[Sat Jun 04 00:57:56 2005] [error] [client 192.168.0.240] File does not exist: d:/apache/htdocs/htdocs/images/weapons/cstrike_g3sg1.gif
[Sat Jun 04 00:57:56 2005] [error] [client 192.168.0.240] File does not exist: d:/apache/htdocs/htdocs/images/weapons/cstrike_grenade.gif
[Sat Jun 04 00:57:56 2005] [error] [client 192.168.0.240] File does not exist: d:/apache/htdocs/htdocs/images/weapons/cstrike_famas.gif
[Sat Jun 04 00:57:56 2005] [error] [client 192.168.0.240] File does not exist: d:/apache/htdocs/htdocs/images/weapons/cstrike_sg552.gif
[Sat Jun 04 00:57:56 2005] [error] [client 192.168.0.240] File does not exist: d:/apache/htdocs/htdocs/images/weapons/cstrike_scout.gif
[Sat Jun 04 00:57:56 2005] [error] [client 192.168.0.240] File does not exist: d:/apache/htdocs/htdocs/images/weapons/cstrike_knife.gif
[Sat Jun 04 00:57:56 2005] [error] [client 192.168.0.240] File does not exist: d:/apache/htdocs/htdocs/images/weapons/cstrike_sg550.gif
[Sat Jun 04 00:57:56 2005] [error] [client 192.168.0.240] File does not exist: d:/apache/htdocs/htdocs/images/title_bg.png
[Sat Jun 04 00:58:19 2005] [error] [client 192.168.0.240] File does not exist:
------------------------------------------------------------------------------------------------
// The 'url' options default to the current directory + '/images/*'
// These settings define how files and images would appear to users browsing to your
// stats website (usually the same as the 'root' options without the document_root prefix)
// You should not have to change these unless your images are in non-standard locations
$conf['statsurl'] = '/htdocs/';
$conf['imagesurl'] = '/htdocs/images/*';
$conf['weaponsurl'] = '/htdocs/images/weapons/*';
$conf['mapsurl'] = '/htdocs/images/map/*';
________________________________________________________________
我的
$conf['statsurl'] = '/';
$conf['imagesurl'] = '/images/';
$conf['weaponsurl'] = '/images/weapons/';
$conf['mapsurl'] = '';
看不明白 你的为什么会有个*号 $conf['imagesurl'] = '/htdocs/images/*'; |
|