当前位置:编程学习 > 网站相关 >>

ihs + websphere7 如何自定义 500 页面 (在ihs启动并且websphere未启动的情况下,并且存在虚拟主机)

如题.  本人修改了 httpd.conf 中的
DocumentRoot "C:/IBM/HTTPServer1/htdocs"
ErrorDocument 500 "/error.html"
ErrorDocument 404 "/error.html"
可以在访问如下地址http://localhost 时实现404状态 跳转到 error.html

当前应用的虚拟主机为test.com
在ihs启动并且websphere未启动的情况下
访问http://test.com  依然是默认的500错页面 , 没有跳转到自定义error.html页面

之后又添加
<VirtualHost *:80>
ServerAdmin abc@com
ServerName localhost
ServerAlias test.com
DocumentRoot "C:/IBM/HTTPServer1/htdocs"
ErrorDocument 500 /error.html
ErrorDocument 404 /error.html
ErrorLog /error.log
CustomLog /access.log common
</VirtualHost>

仍然无效... 请问如何设置才对 --------------------编程问答-------------------- --------------------编程问答-------------------- --------------------编程问答--------------------
有人吗.. 求教
补充:企业软件 ,  WebSphere
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,