404 is the HTTP status code for "Not Found"

learn more… | top users | synonyms

0
votes
1answer
17 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
44 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
1answer
2k views

Error 404 when accesing newly created ASP.NET website on IIS 7.0

I've created an ASP.NET website and published it to a file from visual studio. Then I've copied my folder to the inetpub\wwwrot directory. Next under IIS I've converted this folder to the application. ...
0
votes
0answers
37 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
38 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 ...
3
votes
1answer
1k views

Serve 404 from HAProxy when no acls match

I'm currently re-configuring HAProxy using 1.5dev-17. What I'd like to do is return a 404 error when there is no backend to use for a particular request. Our current configuration uses the ...
1
vote
1answer
1k views

Tomcat mod_jk cluster skip 404 http status

I am trying Tomcat Clustering with mod_jk for months and so far not so bad but facing a problem during deployment. I am using FarmDeployer to copy and deploy the WAR to other nodes in the cluster but ...
0
votes
1answer
813 views

Apache mod_rewrite to return a 404 except one directory

I'm trying to configure Apache to return a default 404 page when the / of DocumentRoot is called, except for some directories in that DocumentRoot Unfortunately, I'm getting a 404 even for the ...
1
vote
2answers
43 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 ...
1
vote
1answer
1k views

redmine gives 404 error after installation

I am using Debian squeeze with nginx and mysql. After raking db and loading default data to redmine. When i try to visit redmine in a browser, http://ipaddress:8080/redmine, I get a 404 error Page ...
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
50 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 ...
1
vote
1answer
243 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
2answers
250 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 ...
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
60 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
212 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
78 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
373 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
2answers
1k views

Cannot serve epub files in IIS6

i am trying to serve epub files in IIS6 (Windows Server 2003), but instead the browser serves a 404 Not Found page. How do i serve EPUB in IIS6? Open the IIS Microsoft Management Console (MMC), ...
1
vote
0answers
124 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
2answers
1k views

nginx phpmyadmin 404

I am trying to install phpmyadmin on my nginx web server. I installed phpmyadmin without a problem. I created subdomain for it. For security reasons I didnt call my subdomain "phpmyadmin" i used a ...
0
votes
1answer
258 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 ...
3
votes
4answers
1k views

How can I prevent Apache from logging 404 errors?

So, whenever a user tries to fetch a file on my Apache server that doesn't exist I get a 404 line in the Access log: [29/Sep/2010:12:14:45 +0200] "GET /asdf HTTP/1.1" 404 And I also get this in the ...
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 ...
0
votes
2answers
262 views

Long file path returning 404 for “hello.htm”

I have a long file path that works on my server, but a simliar path returns a 404 error when it is on my clients (IIS6) server (http://ddmat.com/). Here's the functioning file path on my server: ...
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 ...
1
vote
1answer
571 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
213 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
350 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
122 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 ...
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 ...
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
0answers
197 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 ...
8
votes
5answers
9k views

IIS Can't Serve Certain File Extension

I'm serving .JSON files, but even though the file exist, IIS keeps throwing 404 error when any of the file is accessed. I tried renaming one of the file to .JS, and it works. Any pointer what setting ...
1
vote
1answer
384 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
85 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 ...
0
votes
1answer
310 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
534 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 ...