免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1753 | 回复: 5
打印 上一主题 下一主题

[FreeBSD] freebsd9.0裝openwebmail缺圖檔? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-02-21 22:16 |只看该作者 |倒序浏览
本帖最后由 rest2012 于 2012-02-22 00:10 编辑

freebsd9.0裝openwebmail請問路徑
我是http://xxx.com/cgi-bin/openwebmail/openwebmail.pl

找不到檔案耶

Not Found

The requested URL /cgi-bin/openwebmail/openwebmail.pl was not found on this server.

论坛徽章:
0
2 [报告]
发表于 2012-02-21 23:12 |只看该作者
本帖最后由 rest2012 于 2012-02-21 23:14 编辑

我改了/usr/local/etc/apache22/httpd.conf

ScriptAlias /cgi-bin/ "/usr/local/www/cgi-bin/"


</IfModule>

<IfModule cgid_module>
    #
    # ScriptSock: On threaded servers, designate the path to the UNIX
    # socket used to communicate with the CGI daemon of mod_cgid.
    #
    #Scriptsock /var/run/cgisock
</IfModule>

#
# "/usr/local/www/apache22/cgi-bin" should be changed to whatever your ScriptAli
# CGI directory exists, if you have that configured.
#
<Directory "/usr/local/www/cgi-bin">
可以了

不過怎麼缺圖檔?

论坛徽章:
1
IT运维版块每日发帖之星
日期:2015-10-09 06:20:00
3 [报告]
发表于 2012-02-22 15:32 |只看该作者
图档是不能放在cgi-bin目录,最好把脚本都设置在外面,让目录支持perl脚本。
这样图档和脚本就能放在一起

论坛徽章:
0
4 [报告]
发表于 2012-02-22 22:47 |只看该作者
cgi-bin目录底下沒有images目錄阿

论坛徽章:
1
IT运维版块每日发帖之星
日期:2015-10-09 06:20:00
5 [报告]
发表于 2012-02-23 11:12 |只看该作者
回复 4# rest2012


    那你检查一下网页图片路径对不对

论坛徽章:
0
6 [报告]
发表于 2012-03-01 16:25 |只看该作者
路逕沒錯阿
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP