LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1041|回复: 5

https错误的提示文件在哪里...

[复制链接]
发表于 2005-2-22 20:21:25 | 显示全部楼层 |阅读模式
Bad Request
Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.


Hint: https://*.*.*.*/


--------------------------------------------------------------------------------

Apache-AdvancedExtranetServer/2.0.48 (Mandrake Linux/6.8.100mdk) mod_perl/1.99_11 Perl/v5.8.3 mod_ssl/2.0.48 OpenSSL/0.9.7c PHP/4.3.4 Server at dns.excell.com.tw Port 443

我想把https://*.*.*.*/
改为我当前输入的网址,而不是它的反解的域名....


请问此提示文件在哪里,谢谢..
发表于 2005-2-22 20:35:08 | 显示全部楼层
/etc/httpd/conf/httpd.conf
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-2-22 21:48:33 | 显示全部楼层
3Q!

可是我问的是上面错误提示所在文件,而不是apache的配置文件...
回复 支持 反对

使用道具 举报

发表于 2005-2-23 09:05:13 | 显示全部楼层
也就是你的LOG日志对嘛?你可以查看你的httpd日志,必要的时候还要看一下/var/log//messages
回复 支持 反对

使用道具 举报

发表于 2005-2-23 10:14:25 | 显示全部楼层
好像是/var/log/httpd/ssl_error_log
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-2-24 09:34:32 | 显示全部楼层
[root@shlinux root]# less /etc/httpd/conf/commonhttpd.conf | grep ErrorDocument
#    ErrorDocument 400 /error/HTTP_BAD_REQUEST.html
#    ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
#    ErrorDocument 403 /error/HTTP_FORBIDDEN.html
#    ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
#    ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var
#    ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var
#    ErrorDocument 410 /error/HTTP_GONE.html.var
#    ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var
#    ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var
#    ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
#    ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var
#    ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
#    ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
#    ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var
#    ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var
#    ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
#    ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var
#ErrorDocument 500 "The server made a boo boo."

可是我还是不确定Hint之后的地址是由哪里产生的,
因为由http到https后有些页网如果我访问的时候用的是http,
它会提示
让我点击下面地址
可是他提供?K不是當前地址


http://192.168.7.112

如果我訪問http://192.168.7.112/mis/index.php
它會提示Hint:https://192.168.7.112
而不是https://192.168.7.112/mis/index.php
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表