The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
136 views

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 ...
0
votes
0answers
65 views

How do you hide folders in IIS (hide 403 and avoid 301)?

I asked this question on http://security.stackexchange.com/ and was told to put it here We are getting ready for our pen test scan, and one of the issues we have is Hidden Directory Detection via a ...
1
vote
1answer
109 views

Is it safe to use HTTP status 308 Permanent Redirect?

Is it safe to use the HTTP status code 308 Permanent Redirect (suggestion) in server responses? The issue with 301 Moved Permanently is that it only works with GET requests (to be fair: POST will ...
1
vote
1answer
116 views

Reading IIS error logs - status and substatus

While trying to troubleshoot an IIS error I came upon a guide that discussed the error code in the IIS log. The 4 server logs you NEED to know to fix any IIS / ASP.NET error The post uses the ...
-1
votes
1answer
158 views

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 ...
0
votes
0answers
85 views

User using our client to authenticate with our servers are met with the 4XX errors

I am currently debugging an issue with one user unable to communicate with our auth servers. This issue is important to us because it's one user, which likely could stem to more users as we grow. ...
3
votes
1answer
3k views

What does http code 206 (partial content) really mean?

I'm building a page (using video.js, should it matter) that holds players for a reasonably large number of videos -- click a button on a thumbnail of the image and a modal player opens up, playing the ...
0
votes
1answer
361 views

HAProxy HTTP Codes

I was wondering if is there any way to track different HTTP codes that HAProxy send to clients. For example, have a log with just a list of different status codes: 200 200 302 404 499 500 Having ...
1
vote
3answers
370 views

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 ...
0
votes
1answer
156 views

how does web server handle 304 http status code

As i understand 304 status says the cache in browser is valid enough. So does the web server never send the page in case the page is not expired cache timing or does it process the request and send ...
1
vote
1answer
3k views

POST request is repeated with nginx loadbalanced server (status 499)

double uploads Ever since we went from a simple Apache instance to a loadbalanced environment, there are sometimes issues with POST requests getting repeated. We are running nginx as reverse proxy. ...
-3
votes
1answer
81 views

apache returns error code 201 instead of body [closed]

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 ...
1
vote
0answers
751 views

IE 10 HTTP 401 Error on AJAX POST

I've been chasing down an issue and decided to make the most basic reproduction of the issue possible in hopes that a simplified question will help me resolve this. I am receiving a 401 error when ...
3
votes
3answers
906 views

How do I configure nginx to return 429 http code when rate limiting?

How do I configure nginx to return http status code 429 (Too Many Requests) instead of the default 503 (Service Unavailable) when throttling/rate limiting? FYI, I'm using nginx as a reverse proxy ...
0
votes
1answer
95 views

Apache reports status 200 but file doesn't exist in the server

In Apache access log I have these lines repeating all over the file: 186.44.190.132 - - [22/Feb/2013:23:41:34 +0100] "POST /includes/wishlistcwh.php HTTP/1.1" 200 42416 "-" "Mozilla/5.0" ...
1
vote
1answer
456 views

How to return 410 with lighttpd

I have a subdomain with service I am going to kill. I'd like to use 410 to mark it as such. Is there a way to do that with lighttpd without resolving to mod_magnet and lua scripts?
0
votes
1answer
268 views

IIS logs status code 590

Background: Trying to chase a bug where resources occasionally won't load. Only happens on mobile devices. Last five columns in IIS logs are cs(User-Agent) sc-status sc-substatus sc-win32-status ...
1
vote
3answers
768 views

HTTP/1.1 Status Codes 400 and 417, cannot choose which

I have been referred to here that it might be of better help, I've got a processing file which handles the user sent data, before that, however, it compares the input from client to the expected ...
1
vote
1answer
606 views

NGINX : Proxy pass intercepting 5xx errors - Possible to differentiate between ones fired by backed vs ones fired by nginx itself?

We use proxy_intercept_errors ( http://wiki.nginx.org/HttpProxyModule#proxy_intercept_errors ) with our backends. We intercept a number of status codes, including a few 5xx ones. Our 5xx (each 500 ...
0
votes
1answer
124 views

HTTP Status Codes for Web Application Logic

This might be more of a PHP and SO question, but since it deals with HTTP codes, I thought I'd ask here first. So I'm building a very simple user authentication backend that basically checks the ...
1
vote
2answers
723 views

Apache ErrorDocument 400 https redirection without 302 found page with the actual link

When I force the error 400 by trying http on a https port I get a 302 found code with the https://myserver/mypage.html link I want to show, and I have to click it to get to the page How can I skip ...
4
votes
2answers
171 views

Best error code for 'generic error'

I'm creating custom error pages for my site. I want one that, if there is a generic error (invalid querystring, improper authentication, etc.) that will be shown. This is easy enough, problem is, ...
2
votes
3answers
4k views

Disabling IIS 7.5 server error response for 5xx and 4xx HTTP status codes

Is there any way to prevent IIS from automatically overriding the output of a web app that is returning a status code in the 500 or 400 range? Just as an example, in ColdFusion I can create the ...
1
vote
1answer
342 views

IIS7 and HTTP status code handling

This question is posted on Stack Overflow, and I'm cross-posting here because I think this might be a more correct forum for it. I'm having a hardcore head-ache from trying to get complete ...
6
votes
3answers
7k views

HOWTO use haproxy custom 503 error document when back server sends 503 http code

I would like haproxy to use its own 503 document page when back server (backend) sends HTTP 503 code. Is it possible? Have seen something like "monitor fail" conditions but don't know how to add it ...
2
votes
1answer
117 views

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 ...
1
vote
0answers
466 views

IE6 does not follow 302 redirect - displays 404 instead

One of our clients has reported that they are experiencing 404 (file not found) errors when attempting to navigate a website that we support. The behaviour only appears to affect her - other users on ...
5
votes
3answers
2k views

What's the difference between 301 and 302 in HTTP?

I see all tinyurl like sites use 302 But what's the difference?Seems both are working for me
1
vote
3answers
768 views

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, ...