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.

385 questions
1
vote
1 answer

Nginx Reverse Proxy returning 404

I'm using Nginx as a caching proxy for ArchLinux mirrors (to speed up internal server builds). It correctly reverse proxies four sites, but returns mysterious 404s on the fifth. /etc/nginx/conf/nginx.conf: user http; worker_processes 2; events { …
1
vote
1 answer

Intermittent 404 errors on IIS6, serving classic ASP content

We have 2 IIS6 web servers running in a cluster. Intermittently we receive a 404 / 500 error, if it's a 500 error i get an email with the line number, i check that line in the asp file and it's always an include, check the log and it's reported as…
dylan
  • 21
  • 3
1
vote
2 answers

Should a 404 ever be used in conjunction with a 301-redirect?

I'm working with a hosting company. I need them to setup a 301 redirect for one of my pages. I really care about the ranking on the search engines for this particular page. They claim that in order to do a 301 redirect, they will delete the page on…
Brian Webster
  • 1,123
  • 1
  • 18
  • 38
1
vote
1 answer

IIS Not Finding Page When Network IP is Used

I've got a web page setup in IIS 5. When I navigate to the page using http://localhost/myPageName.html, everything works fine. However when I try to navigate using http://127.0.0.1/myPageName.html or the PCs network IP (say it's…
Overhed
  • 23
  • 9
1
vote
1 answer

Serving .cs / .csproj files on IIS7.5

I've got this small problem, I've got a HG repository server set up and it works fine (at least as far as being a repository & working with HG) I'm having a problem with the web view because it seems my server wont serve .cs or .csproject files…
Aren B
  • 216
  • 2
  • 12
1
vote
1 answer

Conditionally serve 404 file based on request url file extension in Nginx?

I would like to know if I can conditionally serve a specific file as a 404 page based on the request url, or the content-type/mime-type requested. I'm guess something along the lines of: if url_extention == (gif|jpg|png): /404.gif else: …
Louis
  • 155
  • 1
  • 6
1
vote
1 answer

IIS won't let you download EXE files, reports 404

In my quest to get WSUS updates working I've gotten stuck at this stage. WSUS reports that it cannot download the updates and upon trying via Internet Explorer it reports a 404 error. A txt file in the same directory appears fine. Here is the output…
Andy
1
vote
3 answers

IIS6 Sending a 404 for ".exe" files

Recently a bunch of files I had setup for download via IIS6's web server stopped working. They are a number of setup files ending in ".exe" and were working prior to a few months ago. I have the file permissions set properly, and even enabled…
Tracker1
  • 293
  • 3
  • 11
1
vote
1 answer

Apache's 404 page not shown in IE but works in firefox?

The related configuration is like this: ErrorDocument 404 /404.php And it works in firefox,but when in IE it's not shown(IE's default 404 page is shown instead) Has anyone experienced this?
apache
  • 3,027
  • 6
  • 25
  • 25
1
vote
3 answers

ubuntu/apt-get update said "Failed to Fetch http:// .... 404 not found"

I'm trying to run apt-get update on ubuntu 9.10 I've configured my proxy server and I can access the internet without any problem: /etc/apt# wget "http://www.google.com" Resolving (...) Proxy request sent, awaiting response... 200 OK Length: 292…
Pierre
  • 429
  • 1
  • 5
  • 14
1
vote
1 answer

Why are php files coming up 404 from IIS6 when they work OK the default site?

Usually php on iis will thow 404 errors if the install doesn't go right. However, danielcooper.dyndns.org/u.php works OK, but u.danielcooper.dyndns.org/u.php (different site in IIS, different folder) gives a 404 error. However…
Dan
  • 488
  • 1
  • 3
  • 16
1
vote
2 answers

ErrorDocument and extension less links not working together

On my website, I have the following code to omit the extension of php pages RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([^\.]+)$ $1.php [NC,L] I also added this code to show custom 404 pages ErrorDocument…
Whip
  • 251
  • 1
  • 2
  • 8
1
vote
1 answer

IIS 10 URL Rewrite giving 404 error

I am currently stuck with my rewrite rules, and I would need some hints about it. Here's the situation : We have two websites, one is website.com, the other one is website-staging.com (just examples here ofc) On website.com, for some url, I'd like…
SBO
  • 524
  • 4
  • 12
1
vote
1 answer

Nginx/1.18.0- 403 Forbidden - PHPIPAM on Ubuntu 20.04

I'm trying to get phpIPAM working on my Ubuntu but I have some problems: solving this 403 Forbidden error. When I run tail -f /var/log/nginx/error.log, I see this: [error] 2898#2898: *1 directory index of "/var/www/html/phpipam/" is forbidden,…
Johann
  • 11
  • 2
1
vote
1 answer

Nginx - Some resources not found, when they were previously being loaded

I have just encountered a very weird issue. Some of the fonts that I have used in my website and an svg are not loading, while yesterday everything was working fine. The only changes that I've recently made, are some rewrites to remove the…