Questions tagged [http-status-code]
61 questions
2
votes
0 answers
Enabling logwatch to log successful requests as well
I have a very low-volume http server (Nginx) which is used by only a few users and otherwise receives some probes from hackers.
For this installation I would like the logwatch output to include successful http requests as well (i.e. 200-299), I…
![](../../users/profiles/122714.webp)
centic
- 221
- 3
- 11
2
votes
2 answers
Openshift + HAproxy 503 custom page
I'm using 503 HTTP Status and a coming soon page for maintenance mode.
Is there any way to get HAproxy serving server-side generated 503 page instead of the default blank/unavailable page?
I'm using Openshift + HAproxy + Cloudflare + PHP.
Thanks in…
![](../../users/profiles/366338.webp)
PhGeek
- 23
- 6
2
votes
1 answer
ShellShock test shows wget and curl access
I've fixed shellshock bug on my Debian 6 server and while testing on http://shellshock.brandonpotter.com/ I get "No Vulnerabilities Found" and that's OK but they also check other things and in the test log I get:
URL mydomain.net (Root URL) (Header…
![](../../users/profiles/250268.webp)
Odin
- 23
- 3
2
votes
2 answers
How to configure mod_evasive to show HTTP status 429 instead of 403?
Some search engine spiders like Bingbot crawl too rapidly and does not seem to obey robots.txt crawl-delay directive. This triggers the DOS defence mechanism in mod_evasive to generate HTTP 403 forbidden errors. But showing 403 errors to bots for…
![](../../users/profiles/107359.webp)
Question Overflow
- 2,023
- 7
- 28
- 44
2
votes
3 answers
Server returns a 404 code when requesting HEAD?
I configured my server with Nginx (v= ), and when I try to request using HEAD, I got a 404 :
curl -I http://postera.in
HTTP/1.1 404 Not Found
Server: nginx/1.2.1
Date: Thu, 19 Dec 2013 09:51:53 GMT
Content-Type: text/html;…
![](../../users/profiles/72439.webp)
Cyril N.
- 574
- 1
- 9
- 33
2
votes
1 answer
Some apache log questions
In the following log snippet what could cause certain requests to return a 302 status and the last one to return a 200 status? As I understand it 302 means "The requested resource resides temporarily under a different URI" but why would this be? I…
![](../../users/profiles/29690.webp)
Lothar_Grimpsenbacher
- 1,647
- 3
- 18
- 27
1
vote
1 answer
What HTTP status code to avoid instances being marked as unhealthy on AWS Elastic Beanstalk
I am running an application on AWS Elastic Beanstalk. If an instance responds too often with an HTTP status code in the 500 (server error) range AWS marks this instance as unhealthy and removes the instance from the load balancer.
I understand this…
![](../../users/profiles/522993.webp)
spickermann
- 113
- 6
1
vote
1 answer
413 error in apache even though my POST is much smaller than the max limit
I have asked this question on stack overflow as well. I have an apache server and a fastcgi script. When I try to send POST request to my script, it fails giving me the 413 error. If I send in no parameters, my script actually runs giving me error…
![](../../users/profiles/516015.webp)
Hemil
- 63
- 8
1
vote
1 answer
Nginx Proxy Pass - Return Status code form upstream site
How do I return the HTTP STATUS CODE from the http://127.0.0.1:8080/
Example:
http://127.0.0.1:8080/api/example returns a 500 then when accessing ttp://127.0.0.1/api/example it should also return 500,
and so on for the any other status code,…
![](../../users/profiles/505777.webp)
Dean Van Greunen
- 113
- 1
- 5
1
vote
0 answers
Unable to find IIS response logs for php calls
I'm having trouble finding IIS logs for non-erroring calls to php files.
I've recently been given ownership of an IIS 7.5 server that runs php. While digging through logs, I can't find any records of any regular php calls being made.
Here's the…
![](../../users/profiles/403150.webp)
Ryan
- 65
- 2
- 7
1
vote
1 answer
Nginx-Always return 403 status code
I'm trying to get Nginx to return a simple webpage, but always with an http status code of 403. For some reason, I just can't get it to work. I have two files in /var/www/html/:
index.html
photo.jpg
index.html displays some text along with…
![](../../users/profiles/229300.webp)
bcst
- 41
- 1
- 1
- 6
1
vote
1 answer
How can I set HTTP status code reason phrases in nginx
The reason phrases of HTTP responses that accompany a status code are not fixed. Instead of returning 200 OK it would be legal to return 200 Everything fine.
nginx has predefined reason phrases for some well-known status codes, but not for all. For…
![](../../users/profiles/172420.webp)
Sebastian Schrader
- 520
- 3
- 11
1
vote
3 answers
Is it possible to do a 301 redirect AND redirect to the requested resource?
For one of our projects, we're doing a rebranding of the website name, logo, etc...
As such, we need to 301 Moved Permenantly redirect all users from the old domain to the new domain. With IIS7, that's pretty simple. We just create a new website…
![](../../users/profiles/58.webp)
Pure.Krome
- 6,338
- 17
- 72
- 86
1
vote
1 answer
Nginx - Wrong Response Header
when installing joomla I face an issue realated to response header.
During the installation process, an ajax post request send to server which in response status is 303 instead of 200 ! so ajax callback doesn't fire and installtion breaks.
I think…
![](../../users/profiles/329623.webp)
Saman Mohamadi
- 121
- 7
1
vote
0 answers
HAProxy HTTP Response "Other"
The HAProxy documentation lists the possibility of returning non-conforming HTTP status codes:
hrsp_other [.FBS]: http responses with other codes (protocol error)
Are these simply error codes generated by a non-HTTP application whose requests are…
![](../../users/profiles/315381.webp)
vageli
- 121
- 4