Questions tagged [http-status-code-404]

404 is the HTTP status code for "Not Found"

A web server will return a status code of 404 when the resource that is being requested does not exist or cannot be found.

386 questions
0
votes
1 answer

.htaccess is not working

I have a .htaccess file in /var/www, the contents of which is: ErrorDocument 404 /404.html In apache2.conf AccessFileName is .htaccess, and AllowOverride does not exist. For some reason, visiting example.com/anything does not show 404.html.
JJJollyjim
  • 265
  • 2
  • 4
  • 12
0
votes
1 answer

.ashx cannot find type error on IIS7 , no problems on webdev server

I am trying to make AspNetComet.zip work on IIS7 (a simple comet chat implementation) Here is a portion of my web.config.
0
votes
2 answers

Apache+mod_jk and a specific 404 handler

I have a relatively simple Apache httpd + Tomcat via mod_jk setup that works well, but I need to have Tomcat handle certain 404 conditions. Basically, the httpd service will handle images and PDF files and the occasional IIS hacking attempt. However…
0
votes
2 answers

Can access web application from browser but crawler application throws 404 erorr?

I am using an application called Xenu Link Sleuth to try and find broken links on a site we host. When I go to the site through a browser it pops right open. When I try to run it through Xenu it immediately throws a 404 not found error. I…
Abe Miessler
  • 925
  • 4
  • 11
  • 20
0
votes
2 answers

Returning a 404 page when a folder is accessed from one domain, but allowing access from other domains and IP addresses

Situation: I want to return a 404 page ("404.php") when a folder ("hidden") is accessed from the example.com domain. I want the same folder to be accessible from a subdomain ("hidden.example.com") or from a different domain ("hidden.com") which are…
okw
  • 103
  • 3
0
votes
2 answers

Where does Apache 2.2 store it's custom errors, if any?

I'm trying to set up custom error pages (403, 404, etc) on an Apache 2.2 setup. I know that on IIS7.5 the pages are stored in %SystemDrive%\inetpub\custerr\en-US\404.htm but am not sure where they are (or even if they exist) on Apache. Is there…
tombull89
  • 2,964
  • 8
  • 41
  • 52
0
votes
2 answers

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…
Adam Kane
  • 101
  • 2
0
votes
2 answers

Strange request - http://66.196.81.202/error/vote

Hi a friend of mine is asking about the request which can for example be found here: http://www.geoidee.ch/geodata/geoserver-2.0.0/logs/2010_11_23.request.log His original message: On a couple of hundred web sites worldwide, one of the 50 most…
mplungjan
  • 101
  • 4
0
votes
1 answer

404 Not Found for a PL script that exists!

I make a GET request to a CGI script and I get a 404 error. However, I am 100% sure that script is present and it has permissions: -rwxr-xr-x 1 apache apache 6520 Sep 7 03:01 uu_ini_status_audios.pl The request URL…
Abs
  • 1,559
  • 5
  • 19
  • 32
0
votes
1 answer

mod_rewrite [L] flag not working as expected?

I thought the [L] flag indicated that "this rule should be the last rule processed for this http request.." However when I have 2 rules like: RewriteRule ^test$ php/test.php [L] RewriteRule (.*) error.php What always happens is requests to…
bobobobo
  • 789
  • 6
  • 14
  • 26
0
votes
1 answer

Awstats showing strange 404 referrers

When I look at Awstats 404 errors I see sometimes strange referrers. For example on www.mydomain.com I might see a 404 error reported in Awstats that says: URL (not found) Referrers some-file.jpg …
Marco Demaio
  • 590
  • 1
  • 8
  • 23
0
votes
1 answer

Link Duplicity and mod_rewrite

I am running Apache 2.2.11 .htaccess RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}.php -f RewriteRule ^(.*)$ $1.php [L,QSA] The Problem: http://localhost/index…
abel
  • 137
  • 1
  • 8
0
votes
1 answer

Configure Apache2 to only respond to virtual hosts

Have a server that, while reviewing the logs, appears to get hit many many many times a day via the direct ip address by automated scripts looking for vulnerabilities. Entries like: [Sat Jul 31 17:45:01 2010] [error] [client xxx.xxx.xxx.xxx] script…
Unpossible
  • 143
  • 1
  • 9
0
votes
1 answer

IIS6 MVC2 Server starts sending out 404 after a while

I have a W2k3 server running IIS6 and MVC2 (.net 4). Right after the iis starts, everything works ok, the site runs fine. Extensionless urls work ok. After a certain period of time (maybe of inactivity) the server stops working and starts to send…
DanC
  • 153
  • 2
  • 5
0
votes
1 answer

Subdomains using apache and FileNotFound Error

I am trying to setup subdomains using apache VirtualHosts. What I got so far is: NameVirtualHost *:80 ServerName www.domain.aa DocumentRoot /var/www/html ServerName …
Matthias