亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

Chinaunix

標(biāo)題: Smokeping顯示不了圖 [打印本頁]

作者: flyibm    時間: 2012-11-06 10:05
標(biāo)題: Smokeping顯示不了圖
大家好,Smokeping配置好后,服務(wù)可以啟動,通過網(wǎng)頁也可以打開,但是顯示不了圖片,總是顯示一個小紅叉。按照圖片的屬性路徑,可以找到此圖片。請問是哪兒配置的有問題?謝謝。
作者: flyibm    時間: 2012-11-06 10:44
已經(jīng)好了,配置文件中圖片的路徑寫多了。
謝謝。
作者: tongrui115    時間: 2013-07-04 10:35
我的現(xiàn)在也是您一樣的問題
作者: dickwen    時間: 2013-07-08 09:33
flyibm 發(fā)表于 2012-11-06 10:44
已經(jīng)好了,配置文件中圖片的路徑寫多了。
謝謝。


感謝分享答案
作者: tingshow163    時間: 2013-07-12 13:25
你的smokeping所使用的 config 文件里面有一個cache 的配置,這個配置要寫相對路徑,默認(rèn)是cache ,千萬別改成絕對路徑,改成絕對路徑就會出現(xiàn)你說的問題,網(wǎng)頁能顯示,但是圖片不顯示。
作者: 王曉兜    時間: 2013-09-23 10:04
你的config 能貼出來么   我是有圖  沒有數(shù)據(jù)回復(fù) 5# tingshow163


   
作者: tingshow163    時間: 2013-09-24 14:18
回復(fù) 6# 王曉兜


owner    = Peter Random
contact  = some@address.nowhere
mailhost = my.mail.host
sendmail = /usr/sbin/sendmail
# NOTE: do not put the Image Cache below cgi-bin
# since all files under cgi-bin will be executed ... this is not
# good for images.
imgcache = /opt/nginx/html/smokeping/cache
imgurl   = cache
datadir  = /opt/nginx/html/smokeping/data
piddir  = /opt/nginx/html/smokeping/var
cgiurl   = http://some.url/smokeping.cgi
smokemail = /opt/smokeping/etc/smokemail.dist
tmail = /opt/smokeping/etc/tmail.dist
# specify this to get syslog logging
#syslogfacility = local0
# each probe is now run in its own process
# disable this to revert to the old behaviour
# concurrentprobes = no

   
作者: xxlaila    時間: 2016-09-19 09:47
我這個也不出圖! 我的smokeping 配置文件如下:
owner    = Peter Random
contact  = some@address.nowhere
mailhost = my.mail.host
sendmail = /usr/sbin/sendmail
# NOTE: do not put the Image Cache below cgi-bin
# since all files under cgi-bin will be executed ... this is not
# good for images.
imgcache = ../cache
imgurl   = cache
datadir  = ../data
piddir  = ../var
cgiurl   = http:// 172.16.1.100/ smokeping / smokeping.cgi
smokemail = /usr/local/smokeping/etc/smokemail.dist
tmail = /usr/local/smokeping/etc/tmail.dist
# specify this to get syslog logging
syslogfacility = local0
# each probe is now run in its own process
# disable this to revert to the old behaviour
# concurrentprobes = no
httpd.conf配置文件如下:
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "/var/www/html"

Alias /cache "/usr/local/smokeping/cache"
Alias /cropper "/usr/local/smokeping/htdocs/cropper"
Alias /smokeping "/usr/local/smokeping/htdocs/smokeping.fcgi"

<Directory "/usr/local/smokeping">
        AllowOverride None
        Options All
        AddHandler cgi-script .fcgi .cgi
        Order allow,deny
        Allow from all
        AuthName "Smokeping"
        AuthType Basic
        AuthUserFile /usr/local/smokeping/htdocs/htpasswd
        Require valid-user
#       <IfModule dir_module>
        DirectoryIndex smokeping.fcgi
#       </IfModule>
</Directory>

#
,那個大牛幫幫忙  不出圖


作者: xxlaila    時間: 2016-09-19 09:54
可以了搞定了





歡迎光臨 Chinaunix (http://72891.cn/) Powered by Discuz! X3.2