404 is the HTTP status code for "Not Found"

learn more… | top users | synonyms

2
votes
1answer
731 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
121 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
237 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 ...
0
votes
0answers
1k views

Nginx, Django, uwsgi upstream prematurely closed connection

I have a django app running on Nginx and uwsgi. The app works fine usually, but I have noticed one thing that is whenever I restart my server and try to work on my app I am getting Nginx 404 error and ...
0
votes
2answers
1k 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
335 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
67 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 ...
5
votes
1answer
10k 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
148 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
307 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
196 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
80 views

500 error on 404 request

I am having a problem where my site's 404 request are ending up as 500 errors on the server. When I use wget to retrieve the site, I get this Resolving gx5.co.uk... 127.0.0.1, 87.106.9.224 ...
0
votes
1answer
444 views

nginx proxy_pass POST 404 errors

I have nginx proxying to an app server, with the following configuration: location /app/ { # send to app server without the /app qualifier rewrite /app/(.*)$ /$1 break; ...
0
votes
1answer
103 views

existing file gives 404 due to a RewriteCond rule in .htaccess

To redirect a specific domain name to a folder in my public dir, www/, I edited .htaccess to the following: RewriteEngine On RewriteCond %{HTTP_HOST} ^(.+)?domain.com$ RewriteRule ^(/)?$ ...
0
votes
2answers
682 views

Nginx + PHP-FPM executes script, but returns 404 [closed]

I am using Nginx + PHP-FPM to run a Wordpress based site. I have a URL that should return dynamically generated JSON data for use with the DataTables jQuery plugin. The data is returned properly, but ...
0
votes
1answer
328 views

Nginx .zip files return 404

I have set up Nginx as a reverse proxy for Node and to serve my static files and user uploaded images. Everything is working beautifully except that I can't understand why Nginx can't find my .zip ...
0
votes
1answer
63 views

Preserving URLs after CMS migration with redirect database and apache http?

We will migrate an entire intranet from one CMS to another. All URLs will change in a non-predictable pattern, but I can capture a file with original,new URLs I can feed into anything. I have hundred ...
1
vote
1answer
603 views

PHP File Lister Sub Directory 404 Error on Lighttpd

I just installed lighttpd today and I am having issues with lighttpd always returning a 404 error on the sub directories. I am trying to install this (h5ai) and I've followed the directions to the ...
0
votes
1answer
2k views

Classic ASP start page not found (404) in IIS 7 on Windows Server 2008 R2

My site/application points to a folder called "site" with all permissions set up. In that folder resides "home.asp". Default document is "home.asp". When I go to the domain, I get a "page not found". ...
0
votes
1answer
140 views

How to redirect a 404 to https in nginx?

For some reason a Redmine installation keeps redirecting some https requests to http. I'd like to change 404 response for the vhost the pages are redirected to back to the https it should have gone ...
1
vote
2answers
664 views

Magento Migration - Always 404

I just cant get Magento running on a new server. I followed these Instructions exactly, I tried both methods. When I open the website, it just gives me the Magento 404 "Page not Found" page. I do not ...
-1
votes
1answer
46 views

nginx 404 logs to all virtualhosting logs

I am using nginx and i have two sites running: site1 = /1/access.log site2 = /2/access.log when a user get 404 images not found on site2 nginx writes to access.log of site1 & site2 reporting the ...
3
votes
1answer
127 views

Yahoo Hosting: Custom Error Pages (IE)

So one of my clients uses Yahoo Hosting in a shared environment. Absolutely horrible, can't even upload a .htaccess file. They have an option where you can setup custom error pages by uploading a a ...
1
vote
1answer
82 views

Stop showing server software version information on 404

e.g. if someone type url that dont exist it shows 404 page and on bottom Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 ...
0
votes
1answer
88 views

Use shared 404 page for virtual hosts in Nginx

I'd like to have a shared 404 page to use across my virtual hosts. The following is my setup. Two sites, each with their own config file in /sites-available/ and /sites-enabled/ www.foo.com ...
0
votes
1answer
666 views

Redirect 404 errors without rewriting the URL

Is it possible to have an erroneous URL remain in the address bar while redirecting the user to a URL within my domain? I want www.domain.com/forum to be the actual site being served in all 404 ...
0
votes
1answer
59 views

Webmaster randomly reporting a massive increase in 404s (apparently from old sitemaps)

Well, I'm stumped. Several months back, we launched a totally new website, replacing a legacy system that was pretty messy. Part of the mess was many, many pages created that really didn't need to be ...
0
votes
1answer
411 views

Nginx dynamic PHP 404 (with URL rewriting)

I'm trying to set-up dynamic 404 pages so that I can keep the URL of the missing content, show it on the 404 page and keep my site's template consistent. Here is my site conf: server { listen ...
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), ...
2
votes
4answers
866 views

Let IIS 7 return php files as simple html file

I have a virtual server (Windows 2008 R2) with IIS 7.5 and a xxx.php file in one of my websites. This php file contains no php-code and I don't want to install any php-module, I only want the server ...
1
vote
3answers
518 views

Nginx 404 page behavior

I have the following nginx server config: server { listen 80; server_name example.com root /server/root; index index.php; error_page 404 = /index.php; location ~ \.php$ { ...
1
vote
1answer
2k views

IIS 7 returns HTTP 200 on custom 404 error page

I have successfully set up custom static error pages for IIS7. IIS7 is currently working as a gateway to a Java tomcat application. The issue is that when the 404 error page is served it is served ...
1
vote
2answers
168 views

Check GET value with htaccess?

I need help with setting up a rule inside htaccess that does the following, Whenever the requested URL contains keyword love then redirect the user to another URL or maby show a 404 page. Clarifying ...
0
votes
1answer
624 views

How to catch all wrong (urls) request to my ASP.NET app?

I have an ASP.NET web-site and to catch wrong urls requests and redirect them to homepage I put: <customErrors defaultRedirect="/" mode="On"> <error statusCode="404" ...
0
votes
1answer
193 views

Multiple DNS A record for one machine

I saw this post but it doesn't really address my situation. I am trying to add a second Address record for the same IP address but for some reason I am constantly getting a 404 bounce from ...
0
votes
2answers
395 views

Apache 404 Error While PHP File Exists

I am getting 404 error while the file exist. I gave the file (chmod 755) still the file does not show up. Strange part it only happens to few files. I am certain the file exists on the directory ...
0
votes
2answers
606 views

Configure Apache 2 to specify the same error documents for both 403 (Forbidden) and 404 (Page Not Found) responses

I'd like to know how to configure Apache 2 to specify the same error documents for both 403 (Forbidden) and 404 (Page Not Found) responses. I assume there is a directive to add to httpd.conf, but not ...
0
votes
2answers
201 views

How to reverse this Nginx rewrite rule?

I've been having trouble getting Nginx rewrites to work. On Apache I had the following rewrite, which directed all requests that did not request a PHP file to index.php: Options +FollowSymLinks ...
1
vote
1answer
454 views

IIS 6.0 on Windows Server 2003: HTTP 404 error on Virtual directory; system cannot find the file specified (win32 status code 2)

Very strange problem. I am running Windows Server 2003, with IIS 6.0. In one of the websites, there are three virtual directories: A, B, and C. For whatever reason, and, from my understanding, ...
1
vote
1answer
1k views

Nginx returning “404 Not Found” when invoking the upload module

I've set up Nginx and the upload module following Martin Fjordvald's guide, but whenever I submit a file to it, I receive Nginx's generic "404 Not Found" page. The file is not uploaded. Here's my ...
1
vote
1answer
193 views

Testing HTTP status codes

I'm running an Apache Tomcat server. Making some security testing I'd noticed than my server is returning a 200 HTTP status code of the default error page when I try to access to a non-existent ...
0
votes
2answers
517 views

Serve empty 404 page with mod_rewrite

I have a Drupal website which contains the below default mod_rewrite rules RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon.ico ...
4
votes
4answers
695 views

How to prevent bots from trying to guess a link on my site

My logwatch report which I installed recently shows me this: --------------------- httpd Begin ------------------------ 0.78 MB transferred in 5864 responses (1xx 0, 2xx 4900, 3xx 0, 4xx 964, 5xx 0) ...
1
vote
1answer
5k views

Why do I get page not found (404) for correct links?

I have a very strange issue: Google is giving me that some links in my sitemap are not accessible and are giving 404 errors. However, I have tried to open the pages in question and it works fine. The ...
2
votes
1answer
229 views

IIS 6.0 / 2003 giving 404 error after period of time

I have a local development server running Windows Server 2003 that hosts a few applications running on IIS 6.0. I can connect to these said applications just fine but after an unknown period of time ...
0
votes
1answer
7k views

How to fix “404 not found” error on nginx configuration

I just installed nginx on debian, and do basic configuration(add server part) in nginx.conf file user www-data; worker_processes 1; error_log /var/log/nginx/error.log; pid ...
1
vote
1answer
229 views

Lighttpd - rewrite request when 404 error

I have question if it is possible do run mod_rewrite rule when 404 error occurs. Example: Request: http://domain.com/files/img/file.jpg If there is no /files/file.jpg, then Lightttpd should rewrite ...
0
votes
1answer
96 views

Redirect www.mysite.com/XYZ_404err_variety to www.mysite.com, how?

I get 404 errs with tangling urls such as www.mysite.com/XYZ_404err_variety, I want to redirect everything like that to www.mysite.com/, how? I am using *ix -server on apahce. I tried this one but it ...
0
votes
1answer
51 views

Can the re-occurring of 404 error lead to Internal server error (500)?

I'm wondering can the re-occurring of File Not Found (404) error eventually lead to Internal server error (500)?
1
vote
1answer
277 views

Failed PCI compliance - 403 (Forbidden)

Due to a recent upgrade in the scanning done by our PCI compliance testers, we recently failed a PCI, and the suggested solution is as follows: Configure the HTTP server to specify the same error ...