httpd 不带反斜杠 出现 301重定向
重定向 出现 httpd 301 斜杠 不带
2023-09-14 08:59:54 时间
[root@VM_64_69_centos httpd]# curl http://localhost:9001/pay <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>301 Moved Permanently</title> </head><body> <h1>Moved Permanently</h1> <p>The document has moved <a href="http://localhost:9001/pay/">here</a>.</p> <hr> <address>Apache/2.2.15 (CentOS) Server at localhost Port 9001</address> </body></html> [root@VM_64_69_centos httpd]# curl http://localhost:9001/pay/ <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>403 Forbidden</title> </head><body> <h1>Forbidden</h1> <p>You don't have permission to access /pay/ on this server.</p> <hr> <address>Apache/2.2.15 (CentOS) Server at localhost Port 9001</address> </body></html> [root@VM_64_69_centos httpd]#
尼玛,叫我情何以堪啊....
ps:[403没有权限是正常的,因为没有默认执行文件index.php等.]
相关文章
- Servlet 转发请求与重定向,以及路径问题
- 【C/C++学院】0826-文件重定向/键盘输入流/屏幕输出流/字符串输入输出/文件读写简单操作/字符文件读写二进制与文本差别/get与getline挖掘数据/二进制与文本差别/随机位置/多线程初级
- ajax请求后台,response.sendRedirect失效,无法重定向
- flask中重定向所涉及的反推:由视图函数反推url
- nginx 404 403等错误信息页面重定向到网站首页或其它事先指定的页面
- nginx在用户使用ie的使用重定向到/nginx-MSIE目录下
- RHCE 学习笔记(4)- 重定向,管道和VIM编辑器
- 不能用了?Newbing新教程,解决重定向错误
- 【Servlet笔记02】Servlet乱码问题,请求转发和重定向,Cookie和Session会话技术的介绍及使用
- linux shell 之终端读写文件数据流和重定向>,<,<<,>>
- Nginx中的Rewrite的重定向配置与实践
- 005-spring mvc 请求转发和重定向
- Servlet | 深度剖析转发和重定向