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
2
votes
4 answers

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 outside. Our Internet access provider does the…
CesarGon
  • 440
  • 3
  • 14
  • 27
2
votes
1 answer

htaccess redirect of 404 error just prints filename, doesn't execute file

On an Apache host, I have a folder called /thumbs with a program in it called program.php that I will use to create thumbnails. There is a .htaccess file that contains the following lines: options -indexes errordocument 404 program.php What should…
2
votes
1 answer

Strange 404 URL requests on my site

I recently launched a Django powered site and I have 404 error reporting on. I've been getting some strange URL requests, one every couple of days. /renewPwd.php/ /index.php/ /mobile/ /m/ /admininstrator/ I find some of them very strange since I…
Kritz
  • 135
  • 4
2
votes
3 answers

Nginx 1.2.1 custom 404

I'm trying to make a custom 404 error with nginx. First in my local machine I added the following lines to the default site: error_page 404 /custom_404.html; location = /custom_404.html { root /usr/share/nginx/html; …
2
votes
1 answer

How to pass headers to remote error handler in Nginx

I have nginx server that sends 404 errors to apache httpd at 1.1.1.1:8081. How can I pass all original headers to the error server? I have the following config: server { error_page 404 = http://1.1.1.1:8081/404.php?remote=1; } When examining…
rlib
  • 195
  • 1
  • 1
  • 7
2
votes
1 answer

IIS 404 redirect is ignored

So I have a very basic site that's hosted in IIS (for now just straight raw html with no .Net code) In my web.config I have the following:
Robert Petz
  • 505
  • 1
  • 5
  • 9
2
votes
1 answer

IIS 7.5 returning a 404 for one MVC route, but only when deployed

I have a site that is working fine on my local dev machine. When I run everything in IIS Express, the site is working fine. However, when i deploy my app to production, everything but one route is working. That one MVC route is returning a 404…
SpaceCowboy74
  • 131
  • 1
  • 7
2
votes
1 answer

IIS MODULE_SET_RESPONSE_ERROR_STATUS

Im getting 404 error on my web application, I also try doloto : http://research.microsoft.com/en-us/projects/doloto/ , but reports tell me is an compression issue, I dont think so cause is just one page with some ajaxcontroltoolkit features. this is…
Jonathan Escobedo
  • 169
  • 3
  • 6
  • 17
2
votes
1 answer

nginx location and root settings dont work

I am trying to rewrite every file after cdn.minora.me/forum/ to another directory: server { listen 443 ssl; listen [::]:443 ssl; ssl on; ssl_certificate /etc/nginx/ssl/minora.me.crt; ssl_certificate_key…
lenovouser
  • 23
  • 8
2
votes
3 answers

Can I make Apache ErrorDocument return 404 instead of 301?

In my .htaccess I have ErrorDocument 404 http://foo.com/404.html It works, in the sense that I recover from any file not found error and show the 404 page instead, but the way it works is to redirect the erroneous URI using a 301 to my 404.html…
2
votes
1 answer

IIS returns 404 when trying to access static files on certain file types

I have a specific file type of .notebook that IIS is blocking. I tried going into request filtering and adding .notebook with allow set to true, but I still get the 404. Anything else in this folder will download, just this one type is being…
2
votes
4 answers

Is it possible to configure IIS6 to use a custom 404 without the mmc snapin

I have FTP access to a server and I'd like to have custom 404 pages. I don't have access to the management console or any admin rights on the server whatsoever. I understand that apache can use .htaccess files to set custom errorDocuments for…
Matthew Steeples
  • 1,303
  • 1
  • 10
  • 17
2
votes
1 answer

Dealing with 404s from ms sharepoint extension (/_vti_bin/owssrv.dll and /MSOffice/cltreq.asp )

The MS sharepoint extention requests the following files: /_vti_bin/owssrv.dll and /MSOffice/cltreq.asp These requests can generate a lot of 404s which make log files harder to read. I have been redirecting these to / so they don't show up on the…
user17137
2
votes
2 answers

Why do I see apache's 404 and not Django custom 404?

On my local django runserver I created a custom templates/404.html, and this works no problem. However in production with apache this custom 404.html is no longer shown (even with DEBUG=False). I just get a white page with Not Found The requested…
fpghost
  • 663
  • 1
  • 10
  • 22
2
votes
3 answers

robots.txt and other .txt returning 404 on IIS?

We have an IIS site running Dotnetnuke that we took over from another group. We have added a robots.txt file to the root but it returns a 404. Actually any txt file in the root seems to return 404. I can't seem to spot where they may have blocked…
schooner2000
  • 201
  • 3
  • 5