免费注册 查看新帖 |

Chinaunix

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

请教redhat as3u5中apache问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-03-07 16:26 |只看该作者 |倒序浏览
请教redhat as3u5中系统自带了apache,现在我要装一个软件,里面也有apache。
所以想删除原有系统的apache,rpm -e httpd删不掉,如果强制删除的话,会不会对系统其他东西造成影响?
新装的软件中带了apache,但是,用里面的StartApache启动后,用http://domain.host:7753/xxx/index,出现Apache不支持的现象,机器没有设域名,不知道该怎么配置,所以上面用的是http://127.0.0.1:7753/xxx/index,还有配置域名后会不会对oracle产生影响?
写得太乱了,总结一下,问题1:如何卸载系统自带apache,问题2:域名如何配置,问题3:如何才能使用http://hostname:7753/xxx/index
多谢!

论坛徽章:
0
2 [报告]
发表于 2007-03-08 17:46 |只看该作者
1.可以卸载 如果出现提示 可以按照如下操作 进行
[root@test root]# rpm -qa|grep http
redhat-config-httpd-1.1.0-4.30.2
libghttp-1.0.9-8.1
httpd-2.0.46-54.ent
[root@test root]# rpm -e httpd-2.0.46-54.ent
error: Failed dependencies:
        httpd is needed by (installed) redhat-config-httpd-1.1.0-4.30.2
[root@test root]# rpm -e httpd-2.0.46-54.ent redhat-config-httpd-1.1.0-4.30.2


2。域名配置 应该是 DNS的问题。如果你要配虚拟主机,请看 apache.conf最后几行 有样板
3。如果想使用 7753 端口,需要在配置文件里 加上Listen  7753. 同时配置的虚拟主机上 也加上类似端口配置

论坛徽章:
0
3 [报告]
发表于 2007-03-25 08:51 |只看该作者

回复 #2 aaronyou 的帖子

2。域名配置 应该是 DNS的问题。如果你要配虚拟主机,请看 apache.conf最后几行 有样板
3。如果想使用 7753 端口,需要在配置文件里 加上Listen  7753. 同时配置的虚拟主机上 也加上类似端口配置

谢谢大虾详细说明!
在下在这方面是菜鸟,请问需要在配置文件里 加上Listen  7753,是不是在services里面加上一行Listen 7753?后面是用7753/tcp,7753/udp吗?我加了两行:
Listen  7753/tcp   #apache
Listen  7753/udp  #apache
请问对吗?
同时配置的虚拟主机上 也加上类似端口配置,这个没找到,还望详细指教为谢!

论坛徽章:
0
4 [报告]
发表于 2007-03-25 08:55 |只看该作者
conf目录下有access.conf,httpd.conf,magic, mime.types,srm.conf这几个文件,就是没有apache.conf文件?

论坛徽章:
0
5 [报告]
发表于 2007-03-25 09:48 |只看该作者
在httpd.conf中,找到了,但是还是没有解决问题。
现在的情况是,http://localhost:7753/能够打开了,但是,用软件要求的http://localhost:7753/zeh/index却出错,错误稍后帖上

论坛徽章:
0
6 [报告]
发表于 2007-03-25 09:55 |只看该作者
错误如下:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator,[no address given] and inform them of the time the error occured, 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.
---------------------------------
Apache/1.3.14 Server at Mypc Port 7753

log文件的纪录如下:
***LOG LEVEL SET TO:EXCEPTION***
3/24/07   7:30  PM  brocker  INFO  Loaded providerrg.webmacro.resource.TemplateProvider
3/24/07   7:30  PM  brocker  INFO  Loaded providerrg.webmacro.resource.HandlerProvider
3/24/07   7:30  PM  brocker  INFO  Loaded providerrg.webmacro.resource.UrlProvider
3/24/07   7:30  PM  dir         INFO  Registered directive: include
3/24/07   7:30  PM  dir         INFO  Registered directive: parse
3/24/07   7:30  PM  dir         INFO  Registered directive: set
3/24/07   7:30  PM  dir         INFO  Registered directive: if
3/24/07   7:30  PM  dir         INFO  Registered directive: else
3/24/07   7:30  PM  dir         INFO  Registered directive: use
3/24/07   7:30  PM  dir         INFO  Registered directive: param
3/24/07   7:30  PM  dir         INFO  Registered directive: filter
3/24/07   7:30  PM  dir         INFO  Registered directive: foreach
3/24/07   7:30  PM  dir         INFO  Registered directive: local
3/24/07   7:30  PM  dir         INFO  Registered directive: property
3/24/07   7:30  PM  dir         INFO  Registered directive: tool
3/24/07   7:30  PM  broker   INFO  Loaded provider: org.webmacro.engine.DirectiveProvider
3/24/07   7:30  PM  broker   INFO  Loaded provider: org.webmacro.engine.ParserProvider

[ 本帖最后由 boywhocools 于 2007-3-25 22:39 编辑 ]

论坛徽章:
0
7 [报告]
发表于 2007-03-25 23:31 |只看该作者
还有一个问题,就是,error_log里面的信息,所提示的时间跟系统当时的时间差异很大!晚上23:26左右的error_log,里面的时间是9:26AM,不知何故!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP