Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
2 answers
1k views

404, 50x error handling HTML pages in nginx is not detected

nginx version: nginx/1.18.0 This is my 'nginx' conf default 'vhost': cat /etc/nginx/sites-enabled/000-default server { listen 80; listen [::]:80; server_name example.org; return 301 ...
Mévatlavé Kraspek's user avatar
0 votes
1 answer
171 views

What is the purpose of /server.txt

One of my clients suddenly started seeing ~40k requests a day for "/server.txt" to their webserver that result in an HTTP 404. This is expected behavior as the file doesn't exist and isn't ...
Patrick Jones's user avatar
0 votes
2 answers
11k views

Why does my 404 return 200 status code?

Not sure why but all of my error pages respond with a 200. That's feels a little strange to me, the pages exist but shouldn't they have their corresponding status codes? How do I get Nginx to render ...
jwerre's user avatar
  • 798
1 vote
1 answer
807 views

Windows Server VM in Azure HTTP not working but HTTPS OK

Another admin in our company recently setup a windows azure VM. Not sure what version of Windows, as I can't find that anywhere in the portal. I setup IIS through the server manager dashboard, and ...
Chris J's user avatar
  • 137
9 votes
1 answer
23k views

IIS 7 WCF Webservices giving 404 error over HTTPS

I have some WCF webservices running under IIS 7.5 which are responding correctly to http requests but respond with 404 (Not Found) errors when methods are called using SSL. The binds for the site are ...
Morvael's user avatar
  • 311
0 votes
1 answer
568 views

Our site using Akamai is returning 404 (from time to time)

We are facing an issue with sites hosted by Akamai. From time to time we can't load some websites from Akamai and the server return "404 not found". This is temporarily error and it could be that the ...
Adam's user avatar
  • 11
0 votes
0 answers
486 views

iis8.5 Not Found page, SNI and Host Headers. Refuse Connection Possible

I am using IIS8.5 to host a few internal and external sub domains. Everything is working prefect but I have one thing I would like to change and I have no idea where to start. I have set each site ...
James Weber's user avatar
3 votes
1 answer
2k 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 ...
frequent's user avatar
  • 167
0 votes
1 answer
132 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 ...
Virtuose's user avatar
  • 597
1 vote
1 answer
362 views

How can I set up a 404 error page when people access http://ftp.mydomain.com?

I am a freelance videographer/developer, and part of my job involves transferring large files over FTP to production houses/television stations. While the majority of people in my industry understand ...
user avatar
1 vote
1 answer
77 views

HTTP 404 Checking Service

I'm looking for an online service that crawls your site reliably and reports back on HTTP 404s, Page not Found errors. I don't want to install any software but just get an e-mail when a 404 is present ...
Jonathan Ross's user avatar
2 votes
1 answer
12k views

Lighttpd: redirect any request to index.html

I'm trying to send any request to the index.html with lighttpd in order to prevent 404 but I'm not smart enough because either the redirect matches itself or, for calls to subdirs, although the index....
None's user avatar
  • 121
1 vote
2 answers
746 views

Should a 404 ever be used in conjunction with a 301-redirect?

I'm working with a hosting company. I need them to setup a 301 redirect for one of my pages. I really care about the ranking on the search engines for this particular page. They claim that in order ...
Brian Webster's user avatar
0 votes
1 answer
2k views

Force Apache to return 404 on each request

I want my apache to return 404 for all HTTP GET requests. Including HTTP GET /. Tried to play a bit with mod_rewrite for this (404.gif obviously does not exits) RewriteEngine on ...
Maxim Veksler's user avatar