404 is the HTTP status code for "Not Found"

learn more… | top users | synonyms

0
votes
2answers
21 views

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 ...
0
votes
0answers
26 views

website has problems for one person but not for another

My partner and I run 2 websites that I can access fine in all 3 major browsers. He unfortunately can not. He gets "too many redirects" error in Chrome and 404 error in IE but only for the one website. ...
0
votes
1answer
38 views

nginx reverse proxy fail for remote server

This is my nginx.conf on cs2: user nginx; worker_processes 1; error_log /var/log/nginx/error.log; error_log /var/log/nginx/error.log notice; error_log /var/log/nginx/error.log info; pid ...
0
votes
1answer
49 views

Nginx configuration doesn't work with wordpress in subdirectory

I have a nginx installation which I need for hosting web sites in development so that other people can test them out. Right now I've set up a virtual host for a single sub-domain and in that ...
0
votes
0answers
26 views

Apache 2 not working with folders

when we give ip in browser its not pointing to the index page. It showing error : "Not Found The requested URL / was not found on this server" though index page is there in DocumentRoot. If we give ...
0
votes
0answers
19 views

Writing Custom 404 handler; Apache stripping URLs?

I've written a custom 404 handler for Apache. The handler looks at the incoming URL (request_url), queries a database table, and responds by redirecting the visitor to the new URL. What should ...
0
votes
2answers
172 views

nginx use rewrite as dynamic 404 image

I want to get a dynamic 404 response depending on the requested url: foo.jpg doesn't exist http://example.com/img/style/thumbnail/foo.jpg should show ...
1
vote
1answer
193 views

404 in Tomcat manager with AJP connector

I'm trying to configure Tomcat 7 on CentOS 6 with Apache mod_jk, SSL, and an AJP connector. The JK module is installed under Apache: $ sudo httpd -M | grep jk jk_module (shared) Syntax OK Tomcat ...
0
votes
0answers
45 views

IIS 7.5 giving 404.19 “Denied by filtering rule” if URL contains “test” - No filtering rule defined

my IIS is giving me a 404.19 if a certain URL contains the string "test" in any sort or form. For example: http://test2008r2-1/search.php?query=test&type=and&start=1&results=5 and ...
0
votes
1answer
51 views

nginx: how to cache negative FastCGI responses only

Need some collective brainstorming :). There is a heavy PHP application (e.g. Magento) and each time a visitor hits a non-existent page (or there is a problem with a particular part of the ...
0
votes
2answers
97 views

Serve a custom 404 page generated by PHP

Here is how my php-fpm config is: location @site { fastcgi_pass unix:/var/run/php5-fpm.sock; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root/index.php; ...
0
votes
0answers
49 views

IIS 7.5 images not showing - 404

I have IIS 7.5 running my local dev site. My problem is the images are not displaying and in the browser console i receive a 404 error for them. I have checked the Handler Mappings and have ...
0
votes
1answer
161 views

404 not found when trying to access index.php

Recently I have reinstalled a server with Ubuntu 14.04 LTS, nginx/1.6.1 and php5-fpm. When I try to access index.html it's working when I try to access index.php i get "404 Not Found". I double ...
0
votes
1answer
79 views

kohana 3.1 in subdirectory + ubuntu 14.04 + php-fpm + nginx 404 errors

i have an old kohana app that i'm trying to put on my VPS but can't seem to get it working. i've spent hours googling and looking at cached forum answers. i have tried them all and nothing seems to ...
0
votes
2answers
66 views

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 ...
0
votes
1answer
295 views

Laravel 4.1 on nginx routes error 404

I am having troubles with the routes of laravel on a nginx Server. It shows a "404 not found" for all the routes, except for the default one, very similar to this problem: ...
0
votes
0answers
52 views

Files 404 unless owned by 0:0

When I upload files to my staging server (CentOS 6.5, Apache 2.2.26) - such as images or PDFs - via FTP, or by using a file upload script I created (using Laravel 4), they 404 even though they exist. ...
1
vote
0answers
100 views

Simple php page gives 404 error in Magento

For testing purpose, I created a folder and created a test.php file in my magento site. It contains: <? echo "Hello"; ?> It works on one machine but not another machine. I chmod 777 to the ...
0
votes
0answers
44 views

Server Error Logs - Folders and Files not found

I am receiving constant errors in the error_log which look like the following: [Tue Jul 22 10:28:18 2014] [error] [client 2001:8d8:906:7900::c:4cb5] File does not exist: ...
0
votes
1answer
71 views

404 not found error on Rails app with Helicon Zoo on Windows Server

I'm trying to run Rails App with Helicon Zoo on Windows Server 2008 R2. For the test case I used Redmine 2.3 that goes with the Helicon Zoo module. Redmine has been installed successful, but it is ...
0
votes
0answers
53 views

google webmaster soft 404 on 301

I'm looking through google webmaster that my page is generating soft 404 errors (https://support.google.com/webmasters/answer/181708?hl=en) google says: We recommend that you always return a 404 (Not ...
1
vote
1answer
446 views

Location directive not working

For my NGINX server I have a virtual server set up just to dish out static content. At the moment I'm trying to set it up so that images have an expiry date. However, when I create a location ...
0
votes
1answer
191 views

yum search fails when run as non-root user

My yum has started failing to do search as a non-root user. This was working previously, and then something has been gummed up: sudo yum update works fine, as does sudo yum search blah. yum search ...
0
votes
2answers
315 views

Handling 404's with HAProxy

I have a bunch of domains passing to a Resin cluster through an HAProxy. The idea is, when I receive a 404 because of a non-existent subdomain, I want to redirect it to the existing page, like this: ...
0
votes
0answers
124 views

ASP.Net MVC2 .net Framework 3.5 receiveing HttpPost 404 errors on a valid action

I'm developing an application using ASP.NET MVC2 in .net framework 3.5 and everything is running ok on my environment, but when I publish the app on the remote server (a hosting environment) I get a ...
0
votes
0answers
113 views

Googlebot causing 404 for file that exists

I am getting repeated requests, logged in our Apache error logs, from 66.249.76.18 (which appears to be a googlebot), for a URL that is apparently good; the request then gets 404'd and our custom 404 ...
2
votes
2answers
3k views

IIS 8.5 - getting error when returning static 404 file

IIS8.5 > Sites > mysite > Error Pages > 404 Select "Insert content from static file into the error response". Uncheck "Try to return the error file in the client language". Enter path to ...
1
vote
1answer
362 views

Nginx: How to set expiration for 404 responses?

My nginx server acts as a proxy for another server, which sometimes returns 404s. I want the 404 responses to be cacheable, just like 200 responses. However, I cannot use expires, because the ...
0
votes
2answers
2k views

real solution for `No input file specified.` (nginx, fpm)

Most answers to this question are, *set fastcgi_param SCRIPT_FILENAME and it will work* (italic formatting is broken?!). I have set this variable (correct) but it still shows the error instead of a ...
1
vote
1answer
179 views

error 404 with WordPress on ISPConfig3

I had a shared server with Wordpress and now I'm transferring everything to a dedicated server running ISPConfig. I changed the DNS so that the dedicated server is the one showing the website. I ...
0
votes
1answer
79 views

Why do I have requests to “/usr/share/nginx/www404”?

I have requests to /usr/share/nginx/www404 in my NGINX logs. Note that www and 404 are mashed together. The according line in my nginx.conf is error_page 404 /404.html; and there's a 404.html in ...
1
vote
2answers
273 views

Thousands of robots.txt 404 errors from bots trying to crawl old multisite

Current situation is that we are getting thousands and thousands of 404 errors from bots looking for robots.txt in different places on our site due to domain redirects. Our old website was a ...
0
votes
1answer
285 views

404 on localhost whith apache on fedora [closed]

i'm a newbie and using the cs50 appliance(based on fedora) which is made for cs50 course on harvard university. we use the appliance as a virtual machine and they have set everything ready and any ...
0
votes
2answers
479 views

Tomcat logging and mod_proxy

I have Tomcat running on port 8080, and when I send a request directly to Tomcat it works fine: curl -IL http://localhost:8080/myapp HTTP/1.1 302 Moved Temporarily Server: Apache-Coyote/1.1 ...
0
votes
0answers
185 views

IIS 7.5 returns 404 without default document

I'm trying to migrate my company web site to a VPS hosted Windows Server 2008 R2. It runs IIS 7.5 by default. I have created a dedicated application pool, and assigned full control privileges to the ...
1
vote
1answer
940 views

Intercepting 404 with nginx as reverse proxy for memcached + node.js

I'm using nginx as a reverse proxy to look up html content from memcached, if not present, then node.js, if not even there, node.js returns 404. What I'm trying to do is intercept and deliver a custom ...
0
votes
0answers
165 views

Apache error log not showing full path of 404 failures

If I have a working path like /gallery/landscapes and I try to access this inexistent url: /gallery/landscapes/whatever I see the 404 error in my browser but the apache log says that I had an ...
0
votes
1answer
301 views

'File not found' exact path in nginx and php-fpm

Sometimes when configuring nginx and php-fpm I get message "File not found." I know this is beacause of wrong parameter SCRIPT_FILENAME, e.g.: fastcgi_param SCRIPT_FILENAME ...
0
votes
1answer
60 views

Apache 2.2 serving 404s and not logging after server reboot

I previously had Apache 2.2 running a few virtual hosts on my Ubuntu 12.12 Digital Ocean droplet. Then I wanted to increase the server RAM, so I quit with shutdown -h 0 (without stopping Apache, or ...
0
votes
1answer
68 views

Redirect to default image when file is not found

From an iOS app I upload small avatars of Apple Game Center users to a web server, into an /ios-avatars/ dir. But some players do not have any pictures. By using Apache mod_rewrite is it please ...
2
votes
2answers
690 views

mod_jk status page not working

I am doing clustering in Tomcat 7 with Apache server. It is working fine too. However I have the following issues: 1) I am trying to monitor the mod_jk status page; but it is giving 404 error. 2) in ...
0
votes
1answer
243 views

Openshift PHP app throws “404 Page not found error” with custom domain name

I have a PHP app on Openshift which is working fine with the native URL (e.g xyz-xy.rhcloud.com). Later I added an alias to the app(e.g, www.xyz.com) and I also updated the CName in my Zone file at ...
1
vote
0answers
166 views

Apache ProxyPass to Rack gives 404 error

(for simplicity I changed IPs of Apache server to 1.1.1.1 and Gollum server to 6.6.6.6) I'm trying to serve a Gollum wiki with rack through Apache (since it has SSL set up properly and I'm currently ...
2
votes
1answer
122 views

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 ...
1
vote
1answer
98 views

Can't setup nginx + php5-fpm in a fresh installation getting 404

I just've downloaded nginx 1.4 and right away I see the "Welcome to nginx!" message, then I've installed php5-fpm from the repositories so I create a php file at /usr/share/nginx/html/demo.php just ...
0
votes
1answer
91 views

Set Default 404 error pages across entire instance of IIS

we are currently using IIS 8 on our new windows VPS. We have a content management system we install for all our apps we build, but we are finding it incredibly painful as our hosting provider requires ...
0
votes
1answer
881 views

Apache misbehaving (returning 404s)

CentOS 6.4 64-bit Apache 2.4.6 PHP-FPM 5.5.4 Homepage from root loads fine http://csillamvilag.com But all other pages return 404 (CMS is WordPress). I am also able to access and log into WordPress ...
0
votes
0answers
27 views

NGINX Custom ErrorPages wont work

My Server doesn't want to display a custom 500 error page. The error page for the 500 error is here: https://aixspace.de/errorpages/500-504/500.html these are my vhost configs: server { listen ...
2
votes
0answers
218 views

Google-Bot fell in love with my 404-page

Every day my access-log looks kind of this: 66.249.78.140 - - [21/Oct/2013:14:37:00 +0200] "GET /robots.txt HTTP/1.1" 200 112 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; ...
2
votes
2answers
537 views

Magento subpages give 404

I just restored our Magento website on a different server running apache2 on ubuntu. The home page pulls up just fine but if I try to go to any other page, I get a 404. Permissions All files are ...