所以我在linux ubuntu上安装了标准的apache2,但是默认的配置会给出标准的404页面的apache2,而我只想看到一个错误,但是没有返回页面。我发现了一些在apache2配置中使用以下内容的解决方法然后在404.php中:
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found", tru
我在我的蓝色网页应用程序上得到了404 Not Found nginx/1.14.2。我正在使用连接到azure MySQL数据库的azure web应用程序服务。我找不到导致API路由作为404错误响应的问题。
我检查了大部分的答案,但我并没有真正理解它,因为我是新的蔚蓝服务器配置。我用ssh来访问我的文件,我不知道如何解决这个问题.
我正在尝试配置nginx来部署我的angular应用程序。我使用虚拟服务器执行此操作,ngnix服务器配置为: listen 80;
include /etc/nginx/mime.types;134 "http://app.mydomain.com/activities/list" "Mozilla/5.0 (X11; Ubuntu; Linux
amazonaws.com/This is the default index.html page that is distributed with nginx on the Amazon LinuxThis is the default 404 error page for nginx that is distributed with the Amazon Linux AMI.It is located at /usr/share/nginx/html/404