我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

获得403 404页面的2个不同结果

I am trying to make custom 404, 403 error pages.

ErrorDocument 403 /404.php
ErrorDocument 404 /404.php
ErrorDocument 500 /404.php

this is what I included in .haccess file.

now when I load a 403 error I only get the php part of my 404.php page, and when I load a 404 error I get the full page.

also the php part is formatted differently on one error page then on the other. I think ill go nuts on this one please someone tell me what's going on.

近期文章

  • 从Codeigniter URL抓取参数数据
  • php,ctype_print不能处理$ _POST变量
  • PHP MySQL插入/更新多个值
  • 从php中的angular url获取文件内容
  • 如何从php中的字符串中删除html标签
  • 如何在wordpress中制作自定义ajax处理程序?
  • 使用PHPMailer发送电子邮件 - 将图像嵌入正文中
  • 从左连接查询获得更多结果
  • 在wordpress帖子/页面中添加自定义元标记
  • MySQL:使用BETWEEN的多个AND查询?
  • 从控制器打印简单数据到视图
  • Laravel有许多对多人的雄辩
  • 使用PHP有条件地解析XML属性
  • mysql将文本输入转换为datetime字段
  • Laravel在用户登录时获取电子邮件参数
  • 修改php内存排气中的数组值
  • 使用php在节点之间附加xml数据
  • 无法从PHP类获得返回输出
  • 如何在NULL字段中插入VARCHAR数据
  • 第一次用php设置foursquare api

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华