Questions tagged [http-status-code]
64 questions
0
votes
1 answer
Return file with status code from remote server in Nginx
I am trying to set up my SPA to return 404 for invalid resources by having nginx do a backcheck for the resource before responding. All this is to avoid invalid pages coming with 200 and thus having spiders crawling soft 404 pages.
My desired…

Pithikos
- 139
- 5
-1
votes
1 answer
why do I keep getting 206 codes?
I was getting tired of seeing piles of series of partial content 206 requests in my logs, most likely from pdf read-while-loading browsers. So I set "accept-ranges none". The number of 206's went WAY down after that. But there still are a few,…

user618
- 101
- 2
-1
votes
3 answers
How can i do a redirect with 404 as status code in Nginx
We have moved our website to a new domain and our SEO department want to have some redirect from the old urls to the new urls with 404 status code. I dont know if it is possible and want to collect some opinions from the community
My question: i…

qvpham
- 109
- 1
- 7
-3
votes
1 answer
apache returns error code 201 instead of body
i have an Apache server (apache 2.2) installed on an ubuntu server.
the ubuntu is ubuntu quantal that sits on amazon ec2.
that server receives xml requests as post data and returns xml response in it's body. simple as that.
sometimes costumers…

ufk
- 333
- 3
- 8
- 31