404 is the HTTP status code for "Not Found"

learn more… | top users | synonyms (1)

0
votes
2answers
674 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: ...
3
votes
2answers
7k 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
562 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 ...
1
vote
2answers
5k 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 ...
0
votes
1answer
110 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
398 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
467 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
819 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 ...
1
vote
1answer
2k 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
209 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
430 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
95 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
105 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 ...
3
votes
2answers
1k 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
367 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
295 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
191 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
111 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
179 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
2k 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
35 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
320 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
873 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
625 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
166 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
581 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
399 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
1k 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. ...
0
votes
2answers
748 views

nginx serving alternate location on 404

I'm trying to set up an nginx config as follows: When receiving a request like /tile/SteveCountryVic/1/2/3.png: Attempt to pass it through to http://localhost:5005/1/2/3.png If that 404s, pass it to ...
0
votes
1answer
69 views

Is it possible to create Custom Error Log in Apache 2 for 404 hits?

Is it possible to create a log file (for example not_found.log) with only 404 HTTP Status Code with Apache2? Just like this: http://www.helicontech.com/articles/mod_log_config-capabilities/ (Per ...
0
votes
0answers
143 views

mod_proxy when no file exists for request

I have a lighttpd server where static files will be generated by a NodeJS process. The Node server will be running express on port 3000 (same computer). I would like lighttpd to serve the static ...
0
votes
2answers
219 views

Nginx returning 404 with Python-urllib but fine if accessed from browser

We have a repo server running on a Windows box serving some static files that are supposed to be grabbed by our worker nodes using Python-urllib. The problem lies in the fact that when we make a ...
0
votes
1answer
361 views

curl from localhost gets 404

We have a cPanel host running on centos that has got me stumped. I am trying to use curl from the command line to trigger a specific web page. However I keep getting 404 errors for the specific page ...
0
votes
1answer
139 views

Why IIS is still blocking Web.config even after setting denyUrlSequences and fileExtensions?

One of the IIS sites I manage forwards all the requests to Apache. This means that any request, including requests to files such as .config, should be forwarded. <security> ...
1
vote
1answer
755 views

Plesk 11 - Custom Error Documents, URL fails with “Wrong URL format” [closed]

I am setting up a new Plesk account and want to add a custom error document, 404, specifying a URL to a PHP file. In another account, which uses an earlier version of Plesk (v10, if not mistaken), ...
2
votes
3answers
361 views

Forward Apache 500 status to 404

Short version: We'd like Apache to catch when a 500 status is given and return something like 404 instead. Is there a way to do this? Longer version: These servers are running applications that ...
0
votes
1answer
52 views

Apache memory usage with 404

We're facing a problem with an apache server serving static files. When there are lots of requests for a resource that doesn't exist the apache starts to grow in number of processes and memory usage ...
0
votes
1answer
159 views

install nginx on centos 6 but folders isnot working give me 404 not found

I've install Nginx on CentOS 6 without control panel following these steps. I got Nginx installed successfully, see this link. But I still have a folder that isn't showing and giving me "not found ...
3
votes
1answer
2k 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 ...
0
votes
1answer
204 views

404 errors with Virtual Host [closed]

Machine: Mac Book Pro Web Server: Apache I'm building a Wordpress site locally and I've set it up as a virtual host, I've made the following changes to http-vhosts.conf: <VirtualHost *:80> ...
0
votes
2answers
398 views

After moving eKtron Site from iis6 to iis7 site is running but some of the links do not work and

Background I moved this site from IIS6 WIN2K3 to WIN2K8R2 IIS7 and the site launches but I'm getting errors on lots of the links/main menu items. Things I have already checked application pool ...
1
vote
2answers
3k views

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

Nginx + Unicorn Rails Application gets 404 when requests number are high

I have a Rails application deployed using Nginx + Unicorn. Last night, when the traffic peaked, Nginx was getting lots of 404 errors. When I dig into logs, those 404 requests on the nginx side did not ...
1
vote
0answers
74 views

Azure Websites WAWS and several subdomains

I have a website mysite.azurewebsites.net and a domain mydomain.com Linking mydomain.com to the website succeded. I added a DNS entry A record and the awverify.mydomain.com CNAME to ...
0
votes
3answers
625 views

Can't view website with public IP, but www.example.com & example.com work fine

I am facing a problem with a web application on IIS 7.0. Our server configuration is Win 08 server R2 and has a public IP. The problem is, when an application is web hosted on IIS 7.0 and when it is ...
9
votes
1answer
20k views

IIS 404 error where file exists

I have a fresh VPS installation from my provider (Windows 2008 R2, IIS 7.5). The default web site works fine: http://5.9.251.167/ I created a new website, and binding for http://new.ianquigley.com ...
0
votes
1answer
164 views

nginx alias using php5-fpm response 404

I use php5 fpm using nginx. but i have a problem. # debug alias location /bb/ { alias /usr/share/blahblah/; } file on http://mysite.localhost/bb/index.php was not found. but it's still on ...
0
votes
1answer
841 views

The mod_negotiation seems to be enabled, but .php files without extensions return 404

I have the following problem - after moving to a new platform PHP files aren't found unless URL contains their extension. So, if /var/www contains file problem.php, the URL ...
0
votes
1answer
280 views

How is a 404 custom error page requested by browser?

I am trying to understand how the communication works between the browser and the server in the case of custom error message. I understand a 301/302 header which contains the URL of the page in ...
0
votes
1answer
48 views

Files created by java API cannot be accessed through JSP

In a web application, I will use both java API and Linux System Calls to create a new directory, copy an image inside it and finally create a XML file with outputWriter. Then I will create download ...