404 is the HTTP status code for "Not Found"

learn more… | top users | synonyms

0
votes
0answers
12 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
94 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
108 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
25 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
32 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
87 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
29 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
97 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
64 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
58 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
209 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
43 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
74 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
32 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
61 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
50 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
273 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
167 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
263 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
118 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
103 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
2k 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
311 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
145 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
74 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
260 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
244 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
411 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
175 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
750 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
150 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
265 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
55 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
65 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
576 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
213 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
137 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
107 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
97 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
86 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
740 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
26 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
197 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
471 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 ...
0
votes
0answers
391 views

Apache2 ErrorDocuments does not work

I have my Apache configured like this: <VirtualHost *:443> ServerAdmin webmaster@server.com ServerName www.server.com:443 DocumentRoot /var/www/server/web SSLEngine on ...
1
vote
1answer
71 views

Why is Nginx serving `index.html` instead of a 404?

I have a site where requesting a particular JSON file and finding it missing triggers a request for a fallback JSON file. However, rather than getting a 404 for the first file, I was getting the ...
1
vote
1answer
416 views

Nginx 404 error page php with params

In Opencart, 404 error is shown in this url: /index.php?route=error/not_found This page has a 404 custom page with the template of all the website. I´ve tried in Nginx with: error_page 404 = ...
0
votes
1answer
252 views

Getting Drupal or Apache to try a proxy on 404

I have a legacy (Tomcat) site that used to be called host.domain and recently deployed a Drupal site. The new Drupal server is now host.domain and the old Tomcat server is legacy.domain. Most of the ...
1
vote
1answer
675 views

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. ...