404 is the HTTP status code for "Not Found"

learn more… | top users | synonyms

0
votes
1answer
16 views

Can't get 404s for Wordpress pages with permalinks and nginx

I have nginx 1.6.2 serving a wordpress site, with php-fpm. Permalinks are setup the following way: /blog/%postname%/ nginx serves correctly the site pages (/, /products, /contact...) as well as the ...
0
votes
1answer
42 views

Apache 404 returning 500 errors. Request exceeded redirects

I'm trying to setup a site with static HTML with Apache 2.2.22, but I'm getting a 500 error instead of 404. The message in the error log is: [Sun Dec 14 09:48:45 2014] [error] Request exceeded ...
0
votes
0answers
34 views

nginx rewrite throw 404 with last and break

I have a virtual host like below for my Yii website server { root /var/www/code; index index.php index.html; server_name example.com; location / { rewrite ...
-2
votes
1answer
37 views

The requested URL /sot was not found on this server

I have a VPS (Centos 5) and want to use a file in address like this: www.domain.ir/socket.php but after entering the address I see this error: Not Found The requested URL /socket.php was not found ...
1
vote
2answers
40 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
27 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
49 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
78 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
27 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
20 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
242 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
242 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
53 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
59 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
107 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
72 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
209 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
92 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
77 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
370 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
58 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
121 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
47 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
75 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
565 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
210 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
349 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
128 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
121 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
383 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
3k 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
195 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
84 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
284 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
308 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
531 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
196 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
1k 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
309 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
61 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
69 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
760 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
256 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
196 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
126 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
101 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
97 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 ...