访问cgi,提示找不到,404错误

hhl00 2005-06-17 11:52:16
<VirtualHost *:80>
DocumentRoot /home/vhosts/test/htdocs
ScriptAlias /cgi-bin/ /home/vhosts/test/cgi-bin
ServerName test.com
CustomLog "|/usr/local/sbin/cronolog /var/log/httpd/access_log/%Y/%m/test_access_log" combined
</VirtualHost>

我这样配置,然后
http://www.test.com/cgi-bin/test.cgi ,提示404错误,也就是找不到改文件。我错在哪里啊!
文件就在里面啊,而且权限是755的,太奇怪了
...全文
70 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
ykj76 2005-06-24
  • 打赏
  • 举报
回复
ScriptAlias /cgi-bin/ /home/vhosts/test/cgi-bin
改成
ScriptAlias /cgi-bin/ /home/vhosts/test/cgi-bin/
试试

24,923

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 Apache
社区管理员
  • Apache
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧