免费注册 查看新帖 |

Chinaunix

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

[Web] 我的Apache 出现Internal Server Error 错误,请教!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-03-06 14:22 |只看该作者 |倒序浏览
运行时出现以下错误:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@sina.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

论坛徽章:
0
2 [报告]
发表于 2004-03-06 14:23 |只看该作者

我的Apache 出现Internal Server Error 错误,请教!!

我的配置如下:
<VirtualHost 192.168.10.104>;
ServerAdmin webmaster@localhos
DocumentRoot /usr/local/www/publish/htdocs
ScriptAlias /cgi-bin "/usr/local/www/publish/bin"
ServerName 192.168.10.104
</VirtualHost>;

<directory /usr/local/www/publish/bin>;
SetHandler perl-script
PerlHandler Apache::Registry
PerlSendHeader On
AllowOverride None
Options +ExecCGI
Order allow,deny
Allow from all
</directory>;

论坛徽章:
0
3 [报告]
发表于 2004-03-06 14:50 |只看该作者

我的Apache 出现Internal Server Error 错误,请教!!

高手,帮我看一下~~

论坛徽章:
1
CU十二周年纪念徽章
日期:2013-10-24 15:41:34
4 [报告]
发表于 2004-03-06 15:13 |只看该作者

我的Apache 出现Internal Server Error 错误,请教!!

你的是什么系统?问题可能出在httpd.conf 文件上,自己检查一下。
用httpd -f httpd.conf启动,看有无错误,查看error-log错误日志,一般都会有错误提示的。

论坛徽章:
0
5 [报告]
发表于 2004-03-06 15:23 |只看该作者

我的Apache 出现Internal Server Error 错误,请教!!

freebsd系统

问题可能出在httpd.conf 文件上,自己检查一下。


能说一下主要是哪些需要配置吗?

论坛徽章:
0
6 [报告]
发表于 2004-03-06 15:50 |只看该作者

我的Apache 出现Internal Server Error 错误,请教!!

ScriptAlias /cgi-bin/ "/usr/local/www/publish/bin"
通常 ScriptAlias 后面的 /cgi-bin/ 两边都要/
另外,Internal Server Error通常不是apache的配置引起的,而是由cgi程序引起的。检查你的程序是否正确,尤其是,执行目录的权限设置是否正确,有些程序要执行目录为 777 才能运行,当然,注意安全问题,这样的目录只能属于 nobody 的。

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
7 [报告]
发表于 2004-03-07 11:51 |只看该作者

我的Apache 出现Internal Server Error 错误,请教!!

你运行的脚本有问题吗?换个简单的脚本试试,先不要配VirtualHost,看看会不会有问题。

论坛徽章:
0
8 [报告]
发表于 2004-03-08 02:33 |只看该作者

我的Apache 出现Internal Server Error 错误,请教!!

这个不是APACHE的问题~~~应该是一些模块的问题~~,你不如把你的httpd.conf全部贴出来~~我记得有个模块会引起类似的提示~~
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP