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.

385 questions
7
votes
3 answers

404 Error on a file that exists?

A script makes a GET request to my URL like so: http://mydomain.com/cgi-bin/uu_ini_status_audios.pl?tmp_sid=b742be1d131c4d32237a9f1fcdca659e&rnd_id=0.2363453360320319 However, I get a 404 returned straight away: The requested URL…
Abs
  • 1,429
  • 4
  • 18
  • 32
6
votes
5 answers

404 when page exists - IIS 5, ASP.NET 4.0

I have a webserver running Server 2003 Datacenter and IIS 5 which is hosting a variety of ASP.NET 2.0 websites. I'm attempting to add an ASP.NET 4.0 website which I wrote via the VS2010 Beta, and I have .NET 4.0 Beta 1 installed on the server. The…
tsilb
  • 608
  • 2
  • 10
  • 15
6
votes
1 answer

IIS website http ok but https cannot find resource (status code 404)

Afternoon, I publish an API on domainA.com and have done for several months. *http:/domainA.com/service.svc takes me to the resource (c:\inetput\wwwroot\api) *https://domainA.com/service.svc overnight now cannot connect the same resource. Web site…
scott_lotus
  • 1,079
  • 3
  • 16
  • 29
6
votes
4 answers

How to throw a 404 error from htaccess?

Everything I find seems to be about created a custom 404 page. That is not what I am trying to do. If I want to block access to a page I can do this in htaccess: RewriteRule pattern - [F] However, "Forbidden" hints that the page does exists. I…
JD Isaacks
  • 855
  • 5
  • 14
  • 24
5
votes
2 answers

primary.sqlite.bz2 not found on private repo

I've been setting up a private repo for the company I'm working. At the beginning it was working properly, but today, when I'll try to install a new rpm that I've build I had this ugly error…
Abel
  • 322
  • 3
  • 13
5
votes
3 answers

Wildcard DNS, VirtualHosts on apache2, 404 for unused subdomains

On an Apache2 server linked to by a DNS that includes a wildcard entry, e.g. *.example.com, subdomains that are not defined as ServerNames in any VirtualHosts point to the first defined VirtualHost, in my example this is 000-default. My Question:How…
5
votes
1 answer

url rewrite, nginx throw 404 errors, nothing in error logs

below rewrite works fine: rewrite ^/city/restaurants$ /city/listings/restaurants permanent; but this doesnt work rewrite ^/city/restaurants$ /city/listings/restaurants last; rewrite ^/city/restaurants$ /city/listings/restaurants break; what am i…
civilians
  • 123
  • 1
  • 2
  • 8
5
votes
3 answers

Receiving a 404 for a file that exists in nginx web server

I recently switched the web server on my CentOS 7 machine from Apache to nginx. I use software to take screenshots on my computers and to upload them to the server for public viewing. Originally, it worked fine on Apache – however, now I am running…
J.W.F.
  • 328
  • 2
  • 4
  • 15
5
votes
1 answer

Make Lighttpd return 404 for unused subdomains?

I have some domains set up on my Ubuntu server that uses Lighttpd. I have wildcard domains and I want the unused subdomains to return 404 instead of 200 and displaying the regular domain. This problem was brought to my attention because some less…
5
votes
2 answers

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; fastcgi_intercept_errors on; error_page 404…
Matthieu Napoli
  • 400
  • 1
  • 3
  • 11
5
votes
4 answers

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) 160 Images (0.16 MB), 857 Content pages (0.62…
Nikola
  • 777
  • 4
  • 12
  • 21
5
votes
2 answers

IIS not allowing me to server files with .rdp extension

I am trying to host a .rdp file that will be publically available on the internet (without password, of course). IIS is not letting me use this file - I'm getting a 404 error saying it cannot find the file. It works fine if I change the file…
user66827
  • 215
  • 2
  • 3
  • 9
5
votes
1 answer

HTTPS version of page throws 404, regular HTTP appears fine?

I'm having a strange issue with a website in IIS on Windows Server 2003. It has a valid wild card certificate on it, however when I use HTTPS on the page I get a 404 not found. Without HTTPS it shows up fine. Also, if I go to the domain root of the…
MetaGuru
  • 856
  • 5
  • 22
  • 35
4
votes
2 answers

Nginx status page not found

I'm trying to enable the Nginx status page on my Centos 7 server. I installed Nginx from the EPEL repository, Nginx is built with staus page support: [root@server ~]# nginx -V 2>&1 | grep -o…
Rens Verhage
  • 133
  • 1
  • 2
  • 7
4
votes
2 answers

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 "notfound.html", I've verifieed it is there. When I visit a…
Marcus
  • 617
  • 2
  • 6
  • 8
1
2
3
25 26