Questions tagged [http-status-code-404]

404 is the HTTP status code for "Not Found"

A web server will return a status code of 404 when the resource that is being requested does not exist or cannot be found.

386 questions
0
votes
1 answer

Force Apache to return 404 on each request

I want my apache to return 404 for all HTTP GET requests. Including HTTP GET /. Tried to play a bit with mod_rewrite for this (404.gif obviously does not exits) RewriteEngine on RewriteRule .* 404.gif [L] But…
Maxim Veksler
  • 2,725
  • 10
  • 28
  • 32
0
votes
2 answers

IIS 6 404 error calling on localhost

I'm kinda desperate here I have a Windows 2003 Server and when I try to call http://localhost I get a 404 error I have localhost configured to c:\inetpub\wwwroot\ and whatever file I create there it always shows a 404 This is what I see on the log…
Paleta
  • 101
  • 1
0
votes
1 answer

Mapping new file type to IIS and 404 before passing off the request

I'm mapping new file types in IIS 6 to the ASP.NET processor; for example the .gif image type. IIS will see a GIF image doesn't not exist (e.g. http://www.example.com/NoExist.GIF ) and raise a 404 HTTP err before passing the request onto ASP.NET. I…
John K
  • 1,753
  • 3
  • 16
  • 21
0
votes
2 answers

IIS: 404 error on every file in a virtual directory

I am trying to write my first WCF service for IIS 6.0. I followed the instructions on MSDN. I created the virtual directory, I can browse the directory fine but anything I click (even a sub-folder in that folder) gives me a 404 error. What am I…
Scott Chamberlain
  • 1,455
  • 2
  • 21
  • 37
0
votes
1 answer

Where can i find the 404 template from OpenLiteSpeed?

I want to change/customize the standard 404 (Not Found) page/template from OpenLiteSpeed. But where can i find the 404 file via terminal? I'm searching in: cd /usr/local/lsws/ But can't find it. Can someone help me please? I'm using AlmaLinux 8…
DSTUDIOS
  • 1
  • 1
0
votes
1 answer

asp.net cannot upload more than 25mb or receive 404 - File or directory not found

The upload used to work without issue before, and I cannot find anything that might have changed, except I did do updates on all servers. I rebooted all servers and tried uploading files, and the 404 Error is still present. Specs and Information on…
CodingEE
  • 101
  • 1
  • 1
  • 9
0
votes
3 answers

Nginx: *42 upstream sent too big header while reading response header from upstream - random behaviour

I have an ec2 instance running nginx. Here is my nginx config: server { listen 443 ssl; root /var/www/angular/dist/testenpoint-website-angular; index index.htm index.html; server_name …
0
votes
1 answer

What is the purpose of /server.txt

One of my clients suddenly started seeing ~40k requests a day for "/server.txt" to their webserver that result in an HTTP 404. This is expected behavior as the file doesn't exist and isn't part of the website. However, it appears at the top of the…
0
votes
0 answers

Full URL Required for 404 Page To Work — Apache

On a project I'm working on (currently on localhost on MAMP), the 404 page only works if I include the full URL with the ErrorDocument statement in the .htaccess file: ErrorDocument 404 http://localhost:8888/project/public/404.php I would like it…
paulo77
  • 101
  • 1
0
votes
0 answers

URL Shows 404 but adding .php at the end displays

I have set up this website and it's working perfectly, however, extensions such as domain.com/dashboard will display a 404 but when I add .PHP at the back -> domain.com/dashboard.php it displays. Is there a way to make all the files display…
Brun0L3z
  • 1
  • 2
0
votes
2 answers

GCP External HTTPs Load Balancer - 404 - 503 - SSL Exception (Remote host terminated connection, read handshake, socket closed & upstream connect)

We're load testing a MIG (with 2 instances) hosted behind the HTTPs load balancer using JMeter. Observation 1: We randomly receive 404 error and 503 error, for 404 we see an entry get created within load balancer monitoring NO_BACKEND_SELECTED…
0
votes
1 answer

IIS (10.0.17763.1) New Site Fails with 404 Errors

I am hoping that someone may have the answer to this. I created a new site on IIS (full disclosure, I created the first one incorrectly and removed it, if that matters). My IIS server has several hosted sites, all working fine, apart from the new…
Charlie
  • 21
  • 4
0
votes
2 answers

Is there a technical requirement to serve 404 responses?

Is there a technical requirement (e.g., RFC) to serve a 404 response? Or does some other problem emerge if requests not found are dropped or replies empty?
Paul
  • 3,037
  • 6
  • 27
  • 40
0
votes
0 answers

Apache Filesmatch regex issue

I'm trying to block all files that contains the keyword cpf and I've entered this into the apache2 configuration: Require all denied and this blocked a file called name.cpf, but not name.cpfs and…
0
votes
1 answer

Cannot access my website

everyone! I'm linux-enthusiast and I have an issue with an nginx on debian VPS. Until recently I could access my static website but now I can't. This is my sites-available/example where example is my username: server { listen 80 ; …