Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [http-status-code-404]

404 is the HTTP status code for "Not Found"

0
votes
0answers
14 views

Error 404 after linking custom domain GitHub

I am pretty new to all of this so I need some help with something. So I got a domain from freenom.com and I made a GitHub repo. I put HTML and everything and the normal GitHub link lead me to the HTML ...
0
votes
0answers
6 views

PHP URL router works on a local machine but not on a Fedora 29

Fedora 29, Apache My initial view or main page loads, then on url change or Post/Get request I get a 404. My url/get request router is not working with Apache or Fedora. Not Found The requested URL ...
0
votes
0answers
15 views

404 routing issue - AWS Linux Wordpress site

We are running a WordPress site on a AWS EC2 Linux instance and have created custom 403 and 404 error files (both html files). The files are located in the root of the website. The root .htaccess ...
1
vote
2answers
42 views

Unexpected 404 error on all routes laravel application all of a sudden - NGINX|PHP-FPM

I have the following nginx config file ## # You should look at the following URL's in order to grasp a solid understanding # of Nginx configuration files in order to fully unleash the power of Nginx....
0
votes
1answer
38 views

nginx set different document root for a proxypass

I'm just trying to run a nodejs app I made on a proxypass domain, and have it work exactly as it did on my desktop. However, for some reason, even though I defined a seperate document root for this ...
0
votes
0answers
27 views

What are these 404 log entries /-/-/-/-/-/-/-/-/-/-/?

These log entries /-/-/-/-/-/-/-/-/-/-/ (in the 404 logs of my WordPress Redirection Plugin) must be some sort of attempted exploit, but of what? Traversing the directories looking for something? ...
0
votes
3answers
27 views

Argument for providing 200 response on non-existent file

Does it ever make sense for a server to provide a 200 response when a GET request is made for a non-existent file? Shouldn't the response always be a 404? Here's the response header: {'Date': 'Tue, ...
0
votes
1answer
28 views

.htaccess throw 404 and then 301 on nonexistent path

Currently I have this set up in my .httaccess RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !\.(php|html|txt|js|css|png|jpe?g|gif|svg|woff|ico|csv|xml|pdf|gzip) RewriteCond %{...
-2
votes
1answer
78 views

404's on large request pages [closed]

We just moved to a linux apache cpanel vps server. Some pages with large numbers of images are receiving many 404's per page load. Some images load while others result in a 404. different images get ...
0
votes
0answers
10 views

How do I help Cloudflare / Apache / Wordpress to cache 404 pages?

Using Newrelic I've found out that 65% of load on my web server was created from the 404 rendering of static resources, because the 404 page was rendered also for the missing static resources (jpg, ...
1
vote
1answer
58 views

Disable cache for 404 ONLY, in apache 2.2

Is there any method to call RESPONSE_CODE in http.conf file --> check if it is ="404" --> Disable cache for 404 ONLY.. P.S. I am using Apache 2.2. For apache 2.4 I saw some help as below: <...
0
votes
1answer
160 views

Apache2 Block IP with 404 Page or Timeout Error

Is there any was to configure Apache2 to block certain IPs, but instead of returning a 403 page; do one of the following: Return a 404 page Make the connection time out (as it would say in a web ...
0
votes
1answer
209 views

multiple nginx config files under nginx/conf.d/ and 404

A seemingly very simple reverse proxy config is giving me headache here. Main config file /etc/nginx/nginx.conf has "include /etc/nginx/conf.d/*.conf;" Then I have two conf files under conf.d: ...
0
votes
1answer
287 views

IIS starts serving 404's (works for a while!)

This is a funny one that's just started happening. Changes I've recently made: Updated website (not major update, small code changes/bug fixes) Added URL re-write rules to 301 forum to different ...
0
votes
0answers
418 views

NGINX proxy_pass returns 404

I have Nginx reverse proxy that proxies request to NGINX load balancer(Docker container) and 3 other Virtual Machines. Proxy works fine for all Virtual Machines, except this one. Here is my sistes-...
0
votes
1answer
222 views

Mitigating 404 bomb with Nginx

I am hit with 404 queries and this is bringing down my machine. Close to all of my pages are http cached and I have some basic Dos protection with limit_conn_zone $http_x_forwarded_for zone=addr:10m;...
2
votes
1answer
267 views

Nginx Cache even if it's a 404 response

I use 404 rewriting url: error_page 404 = /url_rewriting.php; I cache images generated with a render script being in a folder /render/: set $no_cache 0; location ~ /render/ { ...
0
votes
0answers
18 views

Initial loading in IE always returns error 404 when the URL is accessed via Favorites in IE

We have an internal site that is accessed globally and the users are required to use IE (for now the version is 11). We are facing an issue where the site always returns "Error 404" when accessed via ...
0
votes
2answers
1k views

Why does my 404 return 200 status code?

Not sure why but all of my error pages respond with a 200. That's feels a little strange to me, the pages exist but shouldn't they have their corresponding status codes? How do I get Nginx to render ...
0
votes
1answer
446 views

IIS returning 404 on PDF File

I have a IIS 10.0 server that everything is working fine, with one issue. Any .pdf file returns 404. I know permissions are correct as all the image files in the same folder are working fine. The ...
0
votes
1answer
3k views

Apache Reverse Proxy get 404 error

I set up an apache reverse Proxy Server. In general it works and does what it should. But now i want it to Proxy a request to an external URL. While a wget on the URL works the Proxy keeps giving me a ...
0
votes
1answer
52 views

What does a 404 response look like on embedded files

Say an image is embedded in webpage, but the image is not on the server, not found, and the server responds to requests for the image with a 404 error. The image is not displayed on the webpage, the ...
0
votes
2answers
774 views

Apache httpd serve a 200 response with static resource if requested file is not found

I am looking for a way to configure httpd server to respond with an image if requested file is not found. I know it can be simply done by: ErrorDocument 404 "/static/thumbnails/404.png" This one ...
1
vote
1answer
919 views

How to make Nginx redirect to 404 if subdomain doesn’t exist in localhost domain

This is my localhost server configuration for Nginx. This is at /etc/nginx/sites-enabled/development/localhost server { listen 80 default_server; server_name localhost; root /var/www/html;...
3
votes
2answers
1k views

primary.sqlite.bz2 not found on private repo

I've been setting up a private repo for the company I'm working. At the beginning it was working properly, but today, when I'll try to install a new rpm that I've build I had this ugly error : http://...
1
vote
1answer
420 views

Why Nginx calls for invalid certificate in non-existent subdomains just to redirect to 404?

Have two server blocks. default_server block inside http block of nginx.conf: server { server_name _; listen 80 default_server; listen [::]:80 default_server ipv6only=on; listen 443 ...
0
votes
0answers
576 views

How to replace /wp-admin with other URL in Nginx?

I have a Wordpress on my website and I want to hide and secure access to the Dashboard. It works inside VDS with Nginx. I want a visitor to see 404 error page if he visits /wp-login.php or any /wp-...
1
vote
1answer
29 views

404 pages displaying name of page

My website works great; Google Cloud Platform VM running Ubuntu and Apache2. Well, except for one thing; I can't get 404 pages to work. I followed several guides and managed to do something really ...
1
vote
1answer
194 views

Send Apache request to some form of dev/null, nothing or nowhere

This question I have not been able to get an authoritative answer on, but it's interested me for years: Taking Apache with matching rewrite rules, say: 1 set of matches triggers the 403 Forbidden ...
-2
votes
2answers
751 views

NGINX is not found (20: Not a directory)

When I try to access a file which is named "file" I got the Error 404 - file not found. I checked on the Server if it exists. Yes it does exist. I checked if the file is owned by the webuser. Yes ...
1
vote
1answer
295 views

Windows Server VM in Azure HTTP not working but HTTPS OK

Another admin in our company recently setup a windows azure VM. Not sure what version of Windows, as I can't find that anywhere in the portal. I setup IIS through the server manager dashboard, and ...
0
votes
1answer
2k views

Nginx + PHP index.php not found 404

I'm running debian 9 with nginx 12 and php7.1 I've set evrrything up. Nginx does not give me anything in error log, all the PHP scripts are working 100% fine. Nginx indexes index.html as index but ...
7
votes
1answer
7k views

What does ALPN, server did not agree to a protocol mean?

I see this quite regularly when using various calls in curl. I'm not sure if its the root cause to some of my returns resulting in error 400 but as a newbie just curious more than anything.
0
votes
1answer
520 views

Nginx error_page not serving php files

I'm trying to set up a 404 file which handles unknown url requests using the error_page directive, the file im trying to root it to is a .php file which is in the same directory as the route. The ...
0
votes
1answer
402 views

nginx vhosts 404 50x custom pages with assets. Need rewrite?

I have a nginx config with about 10 vhosts, and I want to have them all share custom 404 and 50x and maintenance error pages. The nginx is a reverse proxy serving angular index.html and I'm a bit ...
-1
votes
0answers
331 views

nginx Reverse Proxy always 404s

I have tried multiple ways to resolve this, but any configuration I have attempted results in a 404. The config is as follows: 2 Servers A and B, both behind a "Round Robin" Load Balancer. Certain ...
0
votes
2answers
92 views

How to handle these 404 errors that look like SQL errors / hacking attempts?

I have an E-commerce site (built on OpenCart 2.0.3.1). I'm using an SEO pack plugin that keeps a list of 404 errors, so we can make redirects. As of a couple of weeks ago, I keep seeing a LOT of 404s ...
0
votes
1answer
110 views

Install Sonerezh as a subdomain in Nginx

when installing Sonerezh it indicates to me that it does not find install. I put the configuration code of the subdomain musica: server { ## Escucha en el puerto 80 (HTTP) ...
0
votes
0answers
148 views

Need help on Nginx redirects for old url pattern now 404

How to redirect old urls with capturing only the variable end and add multiple possible targets before OLD URLS domain.com/product/product-link-xyz ... TO domain.com/products/brand1/product-link-...
2
votes
1answer
5k views

NGINX can't access html files and downloading php files

Everything was working fine, but I did a lot of modifications and then I could get only a blank page. It was a fresh install of NGINX so I decided to delete files in /etc/nginx and to reinstall it. ...
0
votes
1answer
965 views

When access CloudStack UI got HTTP Status 404 error

I have installed CloudStack Management Server followed this guide: http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/4.9/management-server/index.html Versions CloudStack: 4.9 ...
2
votes
4answers
7k views

IIS randomly returning INET_E_RESOURCE_NOT_FOUND

I am using IIS 7 on Windows 2008 Server for an ASP.NET 4 application using Bootstrap. The server has a private IP address to use at work, but is also accessible through a public IP address from ...
0
votes
1answer
447 views

CGI stopped working on setting Nginx as reverse proxy for apache

So I am running a site www.example.com. Initially, I was using apache and any hit to my site would be redirected to www.example.com/path. Now this redirection is defined in my httpd.conf like: ...
0
votes
0answers
151 views

Error 404 page redirects to index.php

I've got a question about the error 404 page in Luna theme. When I'm trying to enter the 404 page by typing some wrong urls it redirects to index.php... I modified my .htaccess with this lines: ...
0
votes
1answer
107 views

Bad request when accesing through HTTPS to www subdomain using nginx

I have no problem when accessing the domain without www. This is my config file: server { listen 443 ssl; server_name .terralmarket.es; proxy_set_header Host $http_host; ssl_certificate /etc/...
-1
votes
1answer
303 views

Unable to access domain.com/phpmyadmin giving me 404 error

I hope you are fine. I installed for more than one year Vesta in my CentOS 7 everything is working fine, but a few days ago I cant access phpmyadmin. In the past, I just go to Vesta click on ...
0
votes
2answers
146 views

Nginx blocks ports

I'm running a debian (jessie, 64-bit) server with nginx, jira and bitbucket installed. the url is referred to as "www.example.com" First I installed jira, opened the setup site (http://example.com:...
0
votes
1answer
4k views

IIS 10 Custom 404 Error pages not working

Windows 10, IIS 10, Classic ASP, .NET v2.0 Classic Custom 404 Error pages that have been working on my test machine for years, with Windows 7, no longer work within Windows 10's IIS. I set everything ...
1
vote
2answers
1k views

How to trouble shoot 404 error

Few days ago I faced an interview and one of the questions was what would I do if I get a 404 error from a webserver. My answer was check the logs. The interviewer said that first I have to ping and ...
2
votes
2answers
6k views

Nginx status page not found

I'm trying to enable the Nginx status page on my Centos 7 server. I installed Nginx from the EPEL repository, Nginx is built with staus page support: [root@server ~]# nginx -V 2>&1 | grep -o ...