Dynu masks Error 404 - File not Found Dynu masks Error 404 - Fi...

Topic: Dynu masks Error 404 - File not Found

Post Dynu masks Error 404 - File not Found
by Marcelo Ruiz on Saturday, January 30, 2016

Hi,

Is there a way to have the web redirection actually returning a code 404 instead of a code 200? It is preventing my to update all the computers connected to the repository.

This is what I get from my apache server, correctly indicating the document does not exist:

$ wget http://73.38.155.36:8999/inexistent.html
--2016-01-30 15:15:55-- http://73.38.155.36:8999/inexistent.html
Connecting to 73.38.155.36:8999... connected.
HTTP request sent, awaiting response... 404 Not Found
2016-01-30 15:15:55 ERROR 404: Not Found.

But when I use the dynu servers for the same document, this is what I get:

wget http://apt.freebird.dynu.com/inexistent.html
--2016-01-30 15:16:02-- http://apt.freebird.dynu.com/inexistent.html
Resolving apt.freebird.dynu.com (apt.freebird.dynu.com)... 199.233.237.21
Connecting to apt.freebird.dynu.com (apt.freebird.dynu.com)|199.233.237.21|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 996 [text/html]
Saving to: ‘inexistent.html.2’

100%[====================================================================================================================================================>] 996 --.-K/s in 0s

2016-01-30 15:16:02 (87.3 MB/s) - ‘inexistent.html.2’ saved [996/996]

Shouldn't your custom page not found return a 404 error in the header?

This is a website that explains the problem:
http://gsitecrawler.com/articles/error-404-200.asp

Thanks,
Ḿarcelo.

Reply with quote | Report
Post Re: Dynu masks Error 404 - File not Found
by timothytw on Thursday, February 4, 2016

When cloaking is enabled, the web page will be displayed in a frame. The page should be able to return code 404 if you disable the cloaking for the web redirect.

Reply with quote | Report
Monday, November 25, 2024 7:35 AM
Loading...