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
3
votes
1 answer

Getting 404 on any text file (including robots.txt) with nginx

I recently moved my CentOS 7 machine from an Apache web server to an nginx web server, and I'm still working out various issues as I learn the in's and out's of nginx. One issue I have stumbled upon is that text files, such as robots.txt, appear to…
J.W.F.
  • 328
  • 2
  • 4
  • 15
3
votes
2 answers

404 when trying to shorten URLs for MediaWiki with Lighttpd

I'm absolutely new at this, so please bear with me. I installed MediaWiki on Lighttpd with no problems, except that when I try to follow up redwerks instructions on how to shorten the urls for MediaWiki on Lighttpd, I always get a very frustrating…
3
votes
2 answers

Codeigniter in subdirectory on Nginx 404

I'm trying to setup Codeigniter in a subdirectory of my domain. Currently I only get an 404 from Codeigniter on the index page. As soon as a want to go to example.com/api/welcome/index I get a 404 from nginx. My nginx.conf: location /api/ { …
Arodes
  • 101
  • 1
  • 1
  • 6
3
votes
1 answer

Why do I get a 404 for my index.page in my http/https nginx setup?

I'm using WPN-XM (stack with Nginx, MariaDB, PHP and OPENSSL) and am trying to setup OpenSSL in a HTTP/HTTPS server. I'm following the instructions from NGINX here and my server starts/stops without errors. This is my nginx.conf with the "double…
frequent
  • 167
  • 8
3
votes
1 answer

Microsoft exchange autodiscover 404 errors

What is the best way to handle an Exchange autodiscover request on a linux web server? Currently it looks for example.com/autodiscover/autodiscover.xml. Since this page doesn't exist it throws a 404. I'd like to keep the 404s to a minimum so they…
MAZUMA
  • 163
  • 1
  • 6
3
votes
2 answers

nginx display a not found image

I have a lot of hotlinked images. Which is fine but some do not exist anymore due to change in URL. Is it possible to display something like imageshack "image not found error" picture only when images are requested and they do not exist? Right now I…
Abhishek Dujari
  • 567
  • 2
  • 5
  • 17
3
votes
1 answer

Yahoo Hosting: Custom Error Pages (IE)

So one of my clients uses Yahoo Hosting in a shared environment. Absolutely horrible, can't even upload a .htaccess file. They have an option where you can setup custom error pages by uploading a a html file into the main directory with a specific…
3
votes
2 answers

Numerous 404's for "alive.txt", anybody know what that file could be?

Just wondering if there is any significance to the frequency. Lately our site has been getting notably more 404 errors for alive.txt than any other uri. Is this some kind of common server log/config file, or just a fluke?
Snaxib
  • 175
  • 1
  • 1
  • 5
3
votes
2 answers

Attempted access to web server

In the list of 404 errors on my web server I keep finding attempted accesses to /admin/Y-ivrrecording.php, /admin/cdr/counter.txt, /modules/extensions_batch/libs/download_csv.php or /c0nfig(!). I suspect that these are attempts to find a…
jammon
  • 133
  • 1
  • 3
3
votes
2 answers

NGINX returning 404 error on a valid url

We have a site that runs PHP-FPM and NGINX. The application sends invitations to site members that are keyed with 40 character random strings (alphanumerics only -- example below). Today for the first time we ran into an issue with this approach. …
Harrison
  • 31
  • 1
  • 3
3
votes
3 answers

Over a million 404's?

Using Analog 6 for web stats, and I'm surprised to see over a million 404's over 54 days. Am I looking at this correctly? Is this an unusual ratio of 404's to "200 OK" page views? I don't see any 404's in the list of actual URLs; where would a list…
markratledge
  • 499
  • 5
  • 13
  • 24
3
votes
2 answers

WebResource.axd and ScriptResource.axd + 404 not found…

I got my asp.net web application to run on a shared hosting.... When i inspected through firebug i found WebResource.axd and ScriptResource.axd returned 404 not found.... WebResource.axd?d=rpqvYNSuvgzlFHiQAGNqVg2&t=633861392532362500 - 404 not…
ACP
  • 149
  • 1
  • 5
  • 12
2
votes
2 answers

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. # http://wiki.nginx.org/Pitfalls #…
Ajeesh
  • 121
  • 1
  • 2
2
votes
2 answers

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/ { include snippets/fastcgi-php.conf; …
Vincent111
  • 21
  • 1
  • 2
2
votes
1 answer

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. apt-get purge nginx nginx-common nginx-full apt-get…
London Smith
  • 197
  • 3
  • 8